forked from github/pre-commit-opentofu
fix: Fixed ordering issue in terraform_wrapper_module_for_each hook (#565)
This commit is contained in:
parent
cdecf288f8
commit
dc12be1faf
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue