-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(iam): only attach policies to imported roles if the accounts match (
#3716) We allow attaching policies to the imported role if the account passed in the ARN matches the account of the stack the policy belongs to, or if either one of those accounts was not specified (i.e., is env-agnostic), or if the ARN used for importing was dynamic. Fixes #2985 Fixes #3025
- Loading branch information
1 parent
3c44fb2
commit 87db7aa
Showing
4 changed files
with
610 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.