Skip to content

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

@beccar97

Description

@beccar97

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions