File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -323,11 +323,11 @@ EOF
323323
324324 # Get names of module variables in all terraform files
325325 # shellcheck disable=SC2207
326- module_vars=($( echo " $all_tf_content " | hcledit block list | grep variable. | cut -d' .' -f 2) )
326+ module_vars=($( echo " $all_tf_content " | hcledit block list | { grep variable. || true ; } | cut -d' .' -f 2) )
327327
328328 # Get names of module outputs in all terraform files
329329 # shellcheck disable=SC2207
330- module_outputs=($( echo " $all_tf_content " | hcledit block list | grep output. | cut -d' .' -f 2) )
330+ module_outputs=($( echo " $all_tf_content " | hcledit block list | { grep output. || true ; } | cut -d' .' -f 2) )
331331
332332 # Looking for sensitive output
333333 local wrapper_output_sensitive=" # sensitive = false # No sensitive module output found"
You can’t perform that action at this time.
0 commit comments