aws-samples/aws-multi-region-cicd-with-terraform

typo in buildspec-terraform_tflint.yml

rholtrebura opened this issue · 0 comments

buildspec-terraform_tflint.yml line 47 is missing a $ in front of the TEAM var:

  • export REGION_TFVARS=$([ -s "environments/${ENV}/{TEAM}/${REGION}.tfvars" ] && echo "-var-file "environments/${ENV}/${TEAM}/${REGION}.tfvars"" || echo "")

should read

  • export REGION_TFVARS=$([ -s "environments/${ENV}/${TEAM}/${REGION}.tfvars" ] && echo "-var-file environments/${ENV}/${TEAM}/${REGION}.tfvars" || echo "")

without it the TFVARS don't get taken into account in the terraform plan and apply stages.