chore(deps): update terraform cloudposse/ecr/aws to v1 #91
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.
This PR contains the following updates:
0.34.0->1.0.0Release Notes
cloudposse/terraform-aws-ecr (cloudposse/ecr/aws)
v1.0.0Compare Source
Add support for image_tag_mutability_exclusion_filter in ECR repositories @[copilot-swe-agent[bot]](https://redirect.github.com/apps/copilot-swe-agent) (#153)
This PR implements support for the `image_tag_mutability_exclusion_filter` feature in AWS ECR repositories, allowing fine-grained control over tag mutability settings.Problem
ECR repositories previously only supported global
image_tag_mutabilitysettings (MUTABLEorIMMUTABLE), which applied to all tags uniformly. This created limitations in scenarios where users needed mixed mutability - for example, keeping production tags immutable while allowing development tags likelatest,dev-*, orfeature-*to be mutable.Solution
Added comprehensive support for
image_tag_mutability_exclusion_filterwhich allows users to define specific tag patterns that should be excluded from the repository's global mutability setting.Key Changes
New Variable: Added
image_tag_mutability_exclusion_filtervariable with proper type definition:Dynamic Resource Block: Implemented dynamic block in
aws_ecr_repositoryresource to conditionally apply exclusion filters.Comprehensive Validation: Added validation rules to ensure:
filter_typemust be a valid value (WILDCARD)filtervalues cannot be empty or whitespace-onlyProvider Version Update: Updated minimum AWS provider version to
>= 6.8.0to support this feature across all modules and examples.Usage Example
This enables scenarios where production tags remain immutable for safety, while development and utility tags maintain flexibility for iterative workflows.
Documentation
Updated README.md with comprehensive documentation including:
Testing
Breaking Changes
This is an additive feature that defaults to an empty list, preserving existing behavior.
HOWEVER the AWS Provider is updated two major versions.
Requirements
This pull request was created as a result of the following prompt from Copilot chat.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
v0.44.0Compare Source
Support disabling default rules @Benbentwo (#149)
what
Adds a variable with defaults to allow disabling the default rules.
why
As part of #146 we added custom lifecycle policies. Now there's a problem where our default rules conflict or are forced at certain points in certain orders relative to our custom lifecycle policies. We want to be able to disable them if they don't meet our needs.
references
#146
e.g.
results in just the
custom_lifecycle_rulesbeing created. No default behavior changev0.43.0Compare Source
bugfix: validation and null countUnit @Benbentwo (#148)
This pull request refines the handling of custom lifecycle rules in Terraform configurations by improving validation logic and enhancing the selection merging process. The changes aim to make the code more robust and handle edge cases more effectively.Improvements to selection merging logic:
main.tf: Theselectionmerging logic now includes a check to ensure thatcountUnitis only added if it is not null, and the filtering logic for keys liketagPrefixListandtagPatternListhas been updated to handle null values more gracefully. (main.tf, main.tfL140-R152)Refinements to validation logic:
tagStatusinvariables.tf: Updated the condition to uselength(coalesce(...))for checkingtagPrefixListandtagPatternList, ensuring proper handling of null or empty lists. (variables.tf, variables.tfL163-R163)countTypeinvariables.tf: Adjusted the condition to ensure thatcountUnitis specified whencountTypeissinceImagePushed, with a clearer error message for improved readability. (variables.tf, variables.tfL193-R195)v0.42.2Compare Source
Custom lifecycle policy support @Benbentwo (#146)
what
why
Allows supporting Custom Lifecycle Policies for your ECR Repositories
references
🤖 Automatic Updates
Fix go version in tests @osterman (#144)
what
1.24why
References
Replace Makefile with atmos.yaml @osterman (#142)
what
Makefileatmos.yamlwhy
build-harnesswithatmosfor readme genrationReferences
v0.42.1Compare Source
protected tags keep count @whereismyjetpack (#139)
- **introduce `protected_tags_keep_count`** - **updates readme**what
Adds
protected_tags_keep_countand defaults it to 999999why
A user may want to retain release tags for an extended period, but not indefinitely.
🤖 Automatic Updates
Migrate new test account @osterman (#138)
what
.github/settings.yml.github/chatops.ymlfileswhy
.github/settings.ymlfrom org level to getterratestenvironmenttestaccountReferences
Update .github/settings.yml @osterman (#136)
what
.github/settings.yml.github/auto-release.ymlfileswhy
.github/settings.ymlfrom org levelreferences
Update .github/settings.yml @osterman (#135)
what
.github/settings.yml.github/auto-release.ymlfileswhy
.github/settings.ymlfrom org levelreferences
v0.42.0Compare Source
fix(#133): have ability to use wildcards in protected_tags variale @mrdntgrn (#134)
what
why
*.*.*references
v0.41.1Compare Source
Add support for time based rotation @uhlajs (#132)
what
Add support for countType "sinceImagePushed" ECR Lifepolicy rule.
why
references
🤖 Automatic Updates
Update .github/settings.yml @osterman (#131)
what
.github/settings.yml.github/auto-release.ymlfileswhy
.github/settings.ymlfrom org levelreferences
Update release workflow to allow pull-requests: write @osterman (#129)
what
.github/workflows/release.yaml) to have permission to comment on PRwhy
Update GitHub Workflows to use shared workflows from '.github' repo @osterman (#128)
what
.github/workflows) to use shared workflows from.githubrepowhy
Update GitHub Workflows to Fix ReviewDog TFLint Action @osterman (#127)
what
.github/workflows) to addissue: writepermission needed by ReviewDogtflintactionwhy
Update GitHub workflows @osterman (#126)
what
.github/workflows/settings.yaml)why
Use GitHub Action Workflows from `cloudposse/.github` Repo @osterman (#125)
what
why
cldouposse/.githubrepositoryAdd GitHub Settings @osterman (#123)
what
.github/settings.yaml)why
Update README.md and docs @cloudpossebot (#120)
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
Update Scaffolding @osterman (#121)
what
make readmeto rebuildREADME.mdfromREADME.yamlwhy
.githubrepov0.41.0Compare Source
Allow to use ECR replication @dmitrijn (#103)
Closes #99
v0.40.1Compare Source
Allow cache though enabled repositories to fetch image from upstream @mfuhrmeisterDM (#117)
what
Add a principal list (
principals_pull_though_access) which are allowed to use specific repositories as pull through cache (import images from upstream). This holds for repositories where one of the strings inprefixes_pull_through_repositoriesis a prefix of the repository name.why
We are using
ecr-publicpull through cache and we want also new images to be downloaded automatically to the cache. Allowed principals for respective repos can use it with the newly introduced variables.🤖 Automatic Updates
Update README.md and docs @cloudpossebot (#116)
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
Update README.md and docs @cloudpossebot (#115)
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
Update README.md and docs @cloudpossebot (#114)
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
v0.40.0Compare Source
feat: support scan_type @dudymas (#113)
what
scanning_configurationas child modulewhy
scan_typesettingsNotes
v0.39.0Compare Source
feat: add organizations as readonly access @dragosmc (#106)
what
why
references
v0.38.0Compare Source
fix: cleans up principals lambda logic to separate policy doc @Gowiem (#105)
what
var.principals_lambdapolicieswhy
references
v0.37.0Compare Source
add optional policy allowing push access @kpankonen (#98)
what
why
principals_push_accessto give push-only access.references
Sync github @max-lobur (#104)
Sync github from the template
v0.36.0Compare Source
v0.35.0Compare Source
adding force_delete @pcartas (#101)
Hi! im adding "force_delete" parameter, is implemented in aws 4.22.0 for an easier delete of the ecr
references
https://registry.terraform.io/providers/hashicorp/aws/4.22.0/docs/resources/ecr_repository
git.io->cloudposse.tools update @dylanbannon (#95)
what and why
Change all references to
git.io/build-harnessintocloudposse.tools/build-harness, sincegit.ioredirects will stop working on April 29th, 2022.References
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.