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

Add support for AWS profile in remote cache DSL #24

Merged
merged 1 commit into from
May 8, 2023
Merged

Add support for AWS profile in remote cache DSL #24

merged 1 commit into from
May 8, 2023

Conversation

Hounshell
Copy link
Contributor

This change is relatively simple, more info in the commit message. But I haven't been able to build locally. Something about not having Kotlin set up properly for this. That being said, I'd appreciate if you'd take a look at it and verify. It's minor, but it would be a huge quality of life improvement for us.

This allows the remote cache configuration to use a profile name when
obtaining AWS credentials. Profiles are an alternate way to provide
credentials. The current method of doing this is to set
`lookupDefaultAwsCredentials=true` and the environment variable
`export AWS_PROFILE="<profile_name>"`, but this requires each developer
to set that variable. Moving it into the remote cache configuration
allows that setting to be more easily shared, particularly in
environments that used shared managed profiles.

More about using profiles at
https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/credentials-profiles.html
@vlsi vlsi merged commit 3fd9a35 into burrunan:master May 8, 2023
@vlsi
Copy link
Contributor

vlsi commented May 8, 2023

Fixed in 1.6, enjoy!

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.

2 participants