v1.538.4
Update Submodule and support `custom_lifcycle_rules` @Benbentwo (#44)
This pull request updates the `ecr` module version and introduces support for custom lifecycle rules in the Terraform configuration. The most important changes include enhancements to lifecycle policy customization and validation logic for the new variable.Module Updates:
src/main.tf: Updated theecrmodule version from0.42.2to0.43.0to incorporate new features and improvements.
Lifecycle Policy Customization:
src/main.tf: Added support forcustom_lifecycle_rulesin theecrmodule, enabling users to define custom rules for managing ECR image lifecycle.src/variables.tf: Introduced a new variablecustom_lifecycle_rules, allowing detailed configuration of lifecycle rules, including validation to ensure proper rule definitions.
Summary by CodeRabbit
-
New Features
- Added support for custom lifecycle rules for image repositories, allowing more flexible management of image retention policies.
- Introduced a setting to specify the number of image versions to retain for protected tags.
- Enabled default lifecycle rule settings for untagged images and removal of old images.
-
Chores
- Updated the ECR Terraform module to version 0.44.0.
🤖 Automatic Updates
Update README.md and docs @[cloudposse-releaser[bot]](https://github.com/apps/cloudposse-releaser) (#47)
## what This is an auto-generated PR that updates the README.md and docswhy
To have most recent changes of README.md and doc from origin templates