We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdecf28 commit dc12be1Copy full SHA for dc12be1
hooks/terraform_wrapper_module_for_each.sh
@@ -321,7 +321,7 @@ EOF
321
322
# Get names of module variables in all terraform files
323
# shellcheck disable=SC2207
324
- 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; }))
325
326
# Get names of module outputs in all terraform files
327
0 commit comments