Fix terragrunt file picker from selecting packer files (#1707)

Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
This commit is contained in:
Ayodeji Osagie 2021-06-28 10:40:31 -03:00 committed by GitHub
parent e059100991
commit f187b0b3ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -713,7 +713,7 @@ function BuildFileList() {
############################
# Get the Terragrunt files #
############################
elif [ "${FILE_TYPE}" == "hcl" ] && [[ ${FILE} != *".tflint.hcl"* ]]; then
elif [ "${FILE_TYPE}" == "hcl" ] && [[ ${FILE} != *".tflint.hcl"* ]] && [[ ${FILE} != *".pkr.hcl"* ]]; then
################################
# Append the file to the array #
################################