I have the following circle ci template that I use from a tutorial.
jobs:
create_infrastructure:
docker:
- image: amazon/aws-cli
steps:
- checkout
- run:
name: Ensure backend infrastructure exist
command: |
aws cloudformation deploy \
--template-file template.yml \
--stack-name my-stack
workflows:
my_workflow:
jobs:
- create_infrastructure
But when I execute in in circle ci, I get
You must specify a region. You can also configure your region by running "aws configure".
Exited with code exit status 253
Also tried adding the env vars to circleci like in the screenshot