fix: Fixed ordering issue in terraform_wrapper_module_for_each hook (#565)

This commit is contained in:
Roma Ryzhyi 2023-09-04 13:09:30 +03:00 committed by GitHub
commit dc12be1faf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -321,7 +321,7 @@ EOF
# Get names of module variables in all terraform files
# shellcheck disable=SC2207
module_vars=($(echo "$all_tf_content" | hcledit block list | { grep variable. | cut -d'.' -f 2 || true; }))
module_vars=($(echo "$all_tf_content" | hcledit block list | { grep variable. | cut -d'.' -f 2 | sort || true; }))
# Get names of module outputs in all terraform files
# shellcheck disable=SC2207