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 S3 aws role arn #416

Merged
merged 2 commits into from
Jul 11, 2023
Merged

add S3 aws role arn #416

merged 2 commits into from
Jul 11, 2023

Conversation

crhntr
Copy link
Contributor

@crhntr crhntr commented Jul 11, 2023

I created this PR based on #401 to do some refactors before merging the changes @abg made.

Adds an optional "aws_role_arn" property for a release source that
can assume a role in an aws account.

[#185364456](https://www.pivotaltracker.com/story/show/185364456)

Co-authored-by: Andrew Garner <garnera@vmware.com>
Co-authored-by: Kyle Ong <kyleo@vmware.com>
@cf-gitbot
Copy link
Member

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

we don't specify the iaas implementation in other config keys
so we decided to remove the prefix here too

we also changed the control flow in NewS3ReleaseSourceFromConfig
to miror the implementation in leftovers more closely: https://github.com/pivotal/leftovers/commit/34fcf991bb381011f8ead1acb9beba866da94025

Co-authored-by: Ramkumar Vengadakrishnan <ramkumarv@vmware.com>
@crhntr crhntr marked this pull request as ready for review July 11, 2023 18:01
Copy link
Contributor

@ram-pivot ram-pivot left a comment

Choose a reason for hiding this comment

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

Changes look good to me. I was also manually able to test AWS bucket access using assume role

@ram-pivot ram-pivot merged commit f53965e into main Jul 11, 2023
@ram-pivot ram-pivot deleted the s3-aws-role-arn branch July 11, 2023 18:52
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