Hey guys,
I can’t seem to update ENV vars in Circle 2. I had an AWS key/secret set for an old setup, and now that we have an updated AWS account, I need to switch them.
I started by just deleting the old variables (i.e., I now have none) and In my build script I’m running echo $AWS_ACCESS_KEY_ID
and it’s still showing the old env variable. It’s been a few hours and a few builds. I’m wondering if this is a bug, or if I’m doing something wrong in my checkout code step:
checkout_code:
docker:
- image: elixir:1.5
- image: postgres:9.4.1
environment:
POSTGRES_USER: ubuntu
working_directory: ~/repo
steps:
- checkout
- save_cache:
key: v1-repo-{{ .Environment.CIRCLE_SHA1 }}
paths:
- ~/repo
Thanks!