Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(iam): can't use
OrganizationPrincipal
for assuming Role
`Principal: "*"` supposedly works to allow any Principal to assume a Role (restricted by `Conditions`, of course), but doesn't work in practice. The IAM API rejects it as a MalformedPolicyDocument. In order to not generate a large diff on existing policies, disable simplification of `Principal: { AWS: * }` to `Principal: *` only for AssumeRole policy documents. Fixes #5732.
- Loading branch information
Showing
4 changed files
with
66 additions
and
69 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
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