Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Secrets for aws_access_key_id and aws_secret_access_key not saved to credhub when updating to 0.20.4 #279

Open
beccar97 opened this issue Dec 7, 2022 · 0 comments

Comments

@beccar97
Copy link

beccar97 commented Dec 7, 2022

I recently updated our control-tower installation from version 0.19.5 to 0.20.4 using the self-update job. I then tried to use the self-update job to upgrade to 0.22.1 and the task failed due to the error

failed to interpolate task config: undefined vars: aws_access_key_id, aws_secret_access_key

Looking at the terraform output of the upgrade to 0.20.4 and in our AWS account I can see that when updating to 0.20.4 the self-update user was correctly created, and an access key was created, but the details of this key were not saved anywhere. In order to resolve the issue I had to manually create another access key for the user from the AWS console and save secrets concourse/main/control-tower-self-update/aws_access_key_id and concourse/main/control-tower-self-update/aws_secret_access_key to credhub.

While I was able to resolve the issue and continue updating our installation, the release notes implied that this would happen automatically as part of the update, and I was not expecting to have to do this manually

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant