-
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(codepipeline): CloudFormation deployment role always gets pipelin…
…e bucket and key permissions (#5190) Previously, we only explicitly granted the CloudFormation CodePipeline action deployment role access to the pipeline bucket (and, by extension, its KMS key) when the action was deploying into a different account. However, that meant in the single account case, if the pipeline had a key defined, the role would never be added to the key's policy, and any deployment requiring access to the artifacts bucket (like a Lambda function) would fail. This fixes the bug by always granting the deployment role permissions to the pipeline bucket (and thus the key as well). Fixes #5183
- Loading branch information
1 parent
209f909
commit d5c0f3e
Showing
9 changed files
with
426 additions
and
9 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
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.