cloudformation-coverage-roadmap icon indicating copy to clipboard operation
cloudformation-coverage-roadmap copied to clipboard

AWS::CodeBuild::Project - VpcConfig

Open posttwo opened this issue 5 years ago • 3 comments

1. Title

AWS::CodeBuild::Project-VpcConfig

2. Scope of request

Removing the VpcConfig property from the template should remove it from the CodeBuild project, which it currently does not.

3. Expected behavior

In Update, removing the VpcConfig attribute should update the CodeBuild project and remove its VPC configuration.

4. Suggest specific test cases

Create AWS::CodeBuild::Project with VpcConfig specified, then try to remove it. Success: Physical CodeBuild project has its VpcConfig removed Fail: Template/stack gets updated without any real changes to the CodeBuild project - becoming out of sync.

5. Helpful Links to speed up research and evaluation

https://docs.aws.amazon.com/codebuild/latest/APIReference/API_UpdateProject.html

6. Category (required) - Will help with tagging and be easier to find by other users to +1

  1. Developer Tools (CodeStar, ...)

7. Any additional context (optional)

posttwo avatar Apr 13 '20 09:04 posttwo

using VpcConfig: {} as a workaround should fix this issue.

Rajath13 avatar Aug 27 '20 09:08 Rajath13

I was affected by this as well, manually removing the CodeBuild project from the VPC in the env part of the console did the trick and didn't break my CloudFormation stack. I hit this bug using CDK.

matdumsa avatar Apr 14 '21 17:04 matdumsa

Hi,

Isn't it a bug from CloudFormation ?

rkitron avatar Jul 19 '22 17:07 rkitron

This also applies to SecondaryArtifacts

danblacklist avatar Oct 19 '22 11:10 danblacklist