Skip to content
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): permissions for Project in VPC used incorrect AWS partition #10637

Merged

Conversation

michaelfedell
Copy link
Contributor

Creating a CodeBuild project with vpc attachment creates and attaches a
policy to the IAM role with static resource arn that does not reference
AWS::Partition - this breaks compatibility with GovCloud.

fixes #10634


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

michaelfedell and others added 3 commits October 1, 2020 12:46
Creating a CodeBuild project with vpc attachment creates and attaches a
policy to the IAM role with static resource arn that does not reference
`AWS::Partition` - this breaks compatibility with GovCloud.

fixes aws#10634
@skinny85 skinny85 changed the title fix(codebuild): govcloud compat for vpc project fix(codebuild): permissions for Project in VPC used the incorrect AWS partition Oct 1, 2020
Copy link
Contributor

@skinny85 skinny85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for the fast fix @michaelfedell !

@skinny85 skinny85 changed the title fix(codebuild): permissions for Project in VPC used the incorrect AWS partition fix(codebuild): permissions for Project in VPC used incorrect AWS partition Oct 1, 2020
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: e26ed0b
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Contributor

mergify bot commented Oct 1, 2020

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit b207888 into aws:master Oct 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[codebuild] Codebuild Project in VPC creates policy incompatible with GovCloud
3 participants