aws / ec2-image-builder-roadmap

Public Roadmap for EC2 Image Builder.
Other
34 stars 7 forks source link

Cloudfromation error on Component Version #71

Open animaxcg opened 2 years ago

animaxcg commented 2 years ago

Sorry cannot find where to open a ticket with the cloudformation team Describe the bug when using cloudfromation to update an ImageBuilder Component you get the following error with or without changing the version number. This ends up breaking the rest of the stack:

Resource of type 'AWS::ImageBuilder::Component' with identifier 'ComponentArn' already exists. Steps to reproduce create a AWS::ImageBuilder::Component via cloudformation... change the document and try to redeploy cloudformation and it should fail

Expected behavior it should update the Component (maybe only if you increament the version number but TBH i should just work no matter what

Debug logs

The following resource(s) failed to update: [Component].

Component | UPDATE_FAILED | Resource of type 'AWS::ImageBuilder::Component' with identifier 'ComponentArn' already exists

Ref from OG ticket: https://github.com/boto/boto3/issues/2459

thunder-spb commented 1 year ago

Only version bump, same as for Image Recipe