version: 0.2 env: variables: ENVIRONMENT: dev TF_IN_AUTOMATION: 1 TERRAFORM_VERSION: 1.3.0 TERRATEST_VERSION: v0.41.11 BASE_PATH: terraform/modules #TEST_ACCOUNT_ASSUMED_ROLE: "" In case of cross deployment this is the role in the target account. phases: install: runtime-versions: golang: 1.16 python: 3.9 commands: - ./${BASE_PATH}/install.sh pre_build: commands: - echo Starting pre-build... - ./${BASE_PATH}/prebuild.sh build: commands: - ./${BASE_PATH}/test.sh post_build: commands: - echo Test Performed completed on `date` reports: cicd-reports: files: - "**/*.xml" - "**/*.log" base-directory: "terraform/modules/cicd/test/reports" discard-paths: no artifacts: files: - "**/*.log" - "**/*.xml" name: reports discard-paths: no base-directory: "terraform/modules/cicd/test/reports"