Skip to content

Conversation

@marboledacci
Copy link
Contributor

The configure script was still managing the static credentials as if they were environment_variable type, and they are string now.
I'm updating the defaults and the script to work as they are supposed to, and adding a new test that validate the setup when using static credentials authentication.

@marboledacci marboledacci merged commit b59332d into master Feb 4, 2025
2 checks passed
@marboledacci marboledacci deleted the fix/static-credentials-setup branch February 4, 2025 15:34
value, i.e. AWS_SECRET_ACCESS_KEY.
type: string
default: AWS_SECRET_ACCESS_KEY
default: $AWS_SECRET_ACCESS_KEY
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the description be updated if $ is required ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, I will create a new PR for this.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a breaking change and should have been marked as 6.0, or even 5.2 at the very least, definitely not a patch release.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mscrivo I was considering that, but for what I saw this was supposed to be working in this way since some a lot of versions back, and the behavior was broken. If this was working someway with this implementation please let me know and I will update the versioning.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we had to update all our usages of:

- aws-cli/setup:
    aws_access_key_id: KEY
    region: REGION
    aws_secret_access_key: SECRET

to:

- aws-cli/setup:
    aws_access_key_id: $KEY
    region: $REGION
    aws_secret_access_key: $SECRET

because it broke. Not a huge deal, just surprising to have happen on a patch release.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it, as I said, I didn't expect this to be working with only credentials in any scenario, but if it was, you are right, this cannot be a patch.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to revert this change in a new patch and release it again in a new minor version. Thanks @mscrivo for notifying that this was actually working.

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

Successfully merging this pull request may close these issues.

4 participants