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

Include TagSession privilege for assumed roles. #189

Merged
merged 1 commit into from
May 1, 2020

Conversation

jgadling
Copy link
Contributor

@jgadling jgadling commented Apr 29, 2020

Summary

I'm working with GitHub Actions - its canonical AWS credentials action requires that 'sts:TagSession' permissions be granted for role assumption:
https://github.com/aws-actions/configure-aws-credentials#permissions-for-assuming-a-role

I'm not sure if we have a policy reason for denying this permission (if so, I can look into alternative auth methods) but it seemed like a minor behavior change.

Test Plan

Say unittests, or list out steps to verify changes.

References

This change enables a pretty straighforward ECR build&push pipeline via GHA: https://github.com/chanzuckerberg/tfe-docker/blob/actiontest/.github/workflows/daily-rebuild.yml

@jgadling jgadling requested a review from a team as a code owner April 29, 2020 21:41
@ryanking ryanking requested a review from edulop91 April 29, 2020 21:51
@edulop91 edulop91 assigned jgadling and unassigned edulop91 May 1, 2020
@jgadling jgadling merged commit e2c9d0b into master May 1, 2020
@jgadling jgadling deleted the jgadling/sts-tagsession branch May 1, 2020 15:54
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