aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap
AWS::ImageBuilder::Image delete AMI when the stack is deleted
- Dominant language
- No language data
- Stars
- 1.1k
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
### Name of the resource
AWS::ImageBuilder::Image
### Resource name
_No response_
### Description
I am using AWS::ImageBuilder::Image through CDK [CfnImage](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_imagebuilder.CfnImage.html), so the please let me know if it's a CDK question.
Currently, AMI are created with AWS::ImageBuilder::Image in the stack. But when the stack is deleted, the AMI is still there. Is this expected ?
I would expect it to be deleted along side with the stack as any other resource type. Or is it possible to have a Rention flag option ?
### Other Details
_No response_
Contributor guide
Research direction
Start with the AWS::ImageBuilder::Image documentation and the linked CDK CfnImage reference. Confirm how AMI lifecycle is defined when the CloudFormation stack is deleted, including whether a retention option is specified. Done means the expected deletion or retention behavior is documented and the request has a clearly scoped implementation path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws
- Domain
- cloud, infrastructure
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100