Skip to content

Commit

Permalink
fix: Fixed ordering issue in terraform_wrapper_module_for_each hook (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ajax-ryzhyi-r committed Sep 4, 2023
1 parent cdecf28 commit dc12be1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/terraform_wrapper_module_for_each.sh
Expand Up @@ -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
Expand Down

0 comments on commit dc12be1

Please sign in to comment.