-
Notifications
You must be signed in to change notification settings - Fork 1
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
PCP-618: capa fix hardcoded role arn for aws iam authenticator #519
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: AmitSahastra, sadysnaat The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
State
READY
What is the purpose of the pull request
CAPA fix hardcoded role ARN for AWS IAM authenticator.
Implementation
Issue: Partition values need to be different for default "aws" and "aws-us-gov", hardcoded roles/policies with default partition of "aws" does not work with "aws-us-gov".
Fix: Modified code to look for partition/region and replace ARN partition based on it.
Committer checklist
Verified on:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Checklist: