Closed gorivishal11 closed 5 years ago
The AWS_DEFAULT_REGION is part of the default set of variable, available in CodeBuild: https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-env-vars.html
Hence, no need to pass it from the CloudFormation as a customer-defined environment variables.
Are you experiencing any issues?
No issue. Thanks for clarifying.
Another environment variable for AWS default region needs to be added to compliance-account-initial-setup.yaml since
- python ./deploy_rule_templates.py $AWS_DEFAULT_REGION $OUTPUT_BUCKET_NO_REGION $ENGINE_RULE_NAME $OTHER_ACTIVE_REGIONS
inbuildspec_deploytemplates.yaml
takes 4 arguments.