updated terraform_import_aws_sso_permission_sets.sh

pull/4/head
Hari Sekhon 1 year ago
parent 1b14dfa340
commit bce2a5f65b

@ -137,7 +137,7 @@ while read -r id instance_arn name; do
fi fi
timestamp "Importing $name" timestamp "Importing $name"
cmd=(terraform import "$id" "$permset_arn,$instance_arn") cmd=(terraform import "$id" "$permset_arn,$instance_arn")
echo "${cmd[@]}" timestamp "${cmd[*]}"
if [ -z "${TERRAFORM_PRINT_ONLY:-}" ]; then if [ -z "${TERRAFORM_PRINT_ONLY:-}" ]; then
"${cmd[@]}" "${cmd[@]}"
fi fi

Loading…
Cancel
Save