Skip to content

Support for IMMUTABLE_WITH_EXCLUSION for ECR Registry #43569

@PhilippeVienne

Description

@PhilippeVienne

Description

Documentation is listing a new mode for ECR repository with IMMUTABLE_WITH_EXCLUSION, official documentation is https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-tag-mutability.html?utm_source=chatgpt.com

Affected Resource(s) or Data Source(s)

  • aws_ecr_repository

Potential Terraform Configuration

resource "aws_ecr_repository" "demo" {
  name                 = "demo"
  image_tag_mutability = "IMMUTABLE_WITH_EXCLUSION"
  image_tag_mutability_exclusion_filter {
    filter_type="wildcard"
  }
}

References

https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/ecr@v1.46.0/types#ImageTagMutability

Would you like to implement the enhancement?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequests to existing resources that expand the functionality or scope.service/ecrIssues and PRs that pertain to the ecr service.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions