diff --git a/lib/functions/buildFileList.sh b/lib/functions/buildFileList.sh index e9404c2a..521ca15d 100755 --- a/lib/functions/buildFileList.sh +++ b/lib/functions/buildFileList.sh @@ -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 # ################################