feat(imagebuilder): support wildcard recipe ARN input in image pipelines #45288
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Rollback Plan
If a change needs to be reverted, we will publish an updated version of the library.
Changes to Security Controls
None
Description
This change adds support for wildcard recipe versions in
aws_imagebuilder_image_pipeline, which is now supported as part of a recent EC2 Image Builder release: EC2 Image Builder now supports auto-versioning and enhances Infrastructure as Code experience.Additionally, now that
x's are supported in recipe version inputs (indicating to increment off the latest matching version), updatedaws_imagebuilder_image_recipeandaws_imagebuilder_container_recipeto suppress diff for matching wildcard version inputs (i.e drift between1.x.0(unresolved version input) and1.2.0(resolved version) is suppressed, but drift between1.2.3and1.0.0is not suppressed and maintains existing behavior)Relations
Closes #45285
References
EC2 Image Builder now supports auto-versioning and enhances Infrastructure as Code experience
CreateContainerRecipe version pattern
CreateImageRecipe version pattern
CreateImagePipeline recipe ARN pattern
Output from Acceptance Testing