Skip to content

v1.538.4

Choose a tag to compare

@cloudposse-releaser cloudposse-releaser released this 25 Jul 22:57
3a93d73
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 the ecr module version from 0.42.2 to 0.43.0 to incorporate new features and improvements.

Lifecycle Policy Customization:

  • src/main.tf: Added support for custom_lifecycle_rules in the ecr module, enabling users to define custom rules for managing ECR image lifecycle.
  • src/variables.tf: Introduced a new variable custom_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 docs

why

To have most recent changes of README.md and doc from origin templates