-
Notifications
You must be signed in to change notification settings - Fork 4k
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
fix(codebuild): validate if a CodePipeline action that is cross-account does not have outputs #4171
fix(codebuild): validate if a CodePipeline action that is cross-account does not have outputs #4171
Conversation
Thanks so much for taking the time to contribute to the AWS CDK ❤️ We will shortly assign someone to review this pull request and help get it
|
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
358a00a
to
93a09af
Compare
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
packages/@aws-cdk/aws-codepipeline-actions/lib/codebuild/build-action.ts
Outdated
Show resolved
Hide resolved
93a09af
to
1f7f76e
Compare
Rebased on top of |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
1f7f76e
to
5e2da6d
Compare
Newest version - rebased + removed |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please update your PR description to include the motivation for this change
…nt does not have outputs Fixes aws#4032
5e2da6d
to
743eb15
Compare
Rebased. |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
CodeBuild does not honor the key set on the project if the key is from a different account. That means a cross-account CodeBuild action effectively cannot have outputs (as they will be written with the default S3 key of the CodeBuild account, which the other actions won't have access to).
Add validation that throws an error if there is an attempt to add a cross-account CodeBuild action with outputs.
Fixes #4032
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license