-
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): correctly pass the replication Buckets to Action.b…
…ind() (#3131) With the change to generate a Role per Pipeline Action, I realized we were incorrectly setting permissions on cross-region Actions. We were always passing the Pipeline Bucket to the Action.bind() method, while in reality they need permissions to their replication Buckets. I also changed the strategy of generating the names for the replication Buckets to use our new PhysicalName.GENERATE_IF_NEEDED. As this is not a strictly backwards-compatible change (it is for customers of `IAction`, but not for Action vendors), I added a mechanism for exempting changes from our compatibility checker. You drop a file called `allowed-breaking-changes-${version}.txt` to the root of your package, where `${version}` is the version of your package (for example, `0.36.1`), and the checker will exempt the violations present in that file.
- Loading branch information
Showing
17 changed files
with
56 additions
and
43 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
packages/@aws-cdk/app-delivery/allowed-breaking-changes-0.36.1.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
incompatible-argument:@aws-cdk/app-delivery.PipelineDeployStackAction.bind |
18 changes: 18 additions & 0 deletions
18
packages/@aws-cdk/aws-codepipeline-actions/allowed-breaking-changes-0.36.1.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
incompatible-argument:@aws-cdk/aws-codepipeline-actions.Action.bind | ||
incompatible-argument:@aws-cdk/aws-codepipeline-actions.Action.bound | ||
incompatible-argument:@aws-cdk/aws-codepipeline-actions.AlexaSkillDeployAction.bound | ||
incompatible-argument:@aws-cdk/aws-codepipeline-actions.CodeDeployServerDeployAction.bound | ||
incompatible-argument:@aws-cdk/aws-codepipeline-actions.CloudFormationCreateReplaceChangeSetAction.bound | ||
incompatible-argument:@aws-cdk/aws-codepipeline-actions.CloudFormationCreateUpdateStackAction.bound | ||
incompatible-argument:@aws-cdk/aws-codepipeline-actions.CloudFormationDeleteStackAction.bound | ||
incompatible-argument:@aws-cdk/aws-codepipeline-actions.CloudFormationExecuteChangeSetAction.bound | ||
incompatible-argument:@aws-cdk/aws-codepipeline-actions.CodeBuildAction.bound | ||
incompatible-argument:@aws-cdk/aws-codepipeline-actions.CodeCommitSourceAction.bound | ||
incompatible-argument:@aws-cdk/aws-codepipeline-actions.EcrSourceAction.bound | ||
incompatible-argument:@aws-cdk/aws-codepipeline-actions.EcsDeployAction.bound | ||
incompatible-argument:@aws-cdk/aws-codepipeline-actions.GitHubSourceAction.bound | ||
incompatible-argument:@aws-cdk/aws-codepipeline-actions.JenkinsAction.bound | ||
incompatible-argument:@aws-cdk/aws-codepipeline-actions.LambdaInvokeAction.bound | ||
incompatible-argument:@aws-cdk/aws-codepipeline-actions.ManualApprovalAction.bound | ||
incompatible-argument:@aws-cdk/aws-codepipeline-actions.S3DeployAction.bound | ||
incompatible-argument:@aws-cdk/aws-codepipeline-actions.S3SourceAction.bound |
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
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
2 changes: 2 additions & 0 deletions
2
packages/@aws-cdk/aws-codepipeline/allowed-breaking-changes-0.36.1.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
incompatible-argument:@aws-cdk/aws-codepipeline.IAction.bind | ||
removed:@aws-cdk/aws-codepipeline.IPipeline.artifactBucket |
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