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

fix: scope down usage of PassRole #7317

Merged
merged 1 commit into from
May 24, 2021
Merged

fix: scope down usage of PassRole #7317

merged 1 commit into from
May 24, 2021

Conversation

cjihrig
Copy link
Contributor

@cjihrig cjihrig commented May 12, 2021

Description of changes

This commit reduces the scope of iam:PassRole to be limited to Amplify's authRole and unauthRole.

Issue #, if available

N/A

Description of how you validated changes

Manual testing - add Cognito user pool groups to a project and push. Any additional pointers on testing this feature are welcome.

Checklist

  • PR description included
  • yarn test passes

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@cjihrig cjihrig requested a review from attilah May 12, 2021 16:59
@cjihrig cjihrig requested a review from a team as a code owner May 12, 2021 16:59
Copy link
Contributor

@attilah attilah left a comment

Choose a reason for hiding this comment

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

LGTM, the concern I had we discussed offline.

@yuth yuth merged commit d4d9394 into aws-amplify:master May 24, 2021
@cjihrig cjihrig deleted the passrole branch May 24, 2021 19:26
@github-actions github-actions bot added the referenced-in-release Issues referenced in a published release changelog label May 26, 2021
@github-actions
Copy link

👋 Hi, this pull request was referenced in the v4.51.3 release!

Check out the release notes here https://github.com/aws-amplify/amplify-cli/releases/tag/v4.51.3.

cjihrig added a commit to ctjlewis/amplify-cli that referenced this pull request Jul 12, 2021
Co-authored-by: Colin Ihrig <colihrig@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
referenced-in-release Issues referenced in a published release changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants