updated terraform_import_aws_iam_groups.sh

pull/4/head
Hari Sekhon 1 year ago
parent 4397866011
commit 39fafe96b0

@ -59,9 +59,8 @@ while read -r group name; do
# shellcheck disable=SC2178
cmd=(terraform import "$group" "$name")
# shellcheck disable=SC2128
echo "${cmd[@]}"
timestamp "${cmd[*]}"
if [ -z "${TERRAFORM_PRINT_ONLY:-}" ]; then
# shellcheck disable=SC2128
"${cmd[@]}"
fi
echo >&2

Loading…
Cancel
Save