Skip to content

aws-ecr: Support for exceptions to tag immutability #35454

@Clon1998

Description

@Clon1998

Describe the feature

Since AWS ECR now allows exceptions to tag immutability status, it would be beneficial to add this option to the Repository construct.

Use Case

We currently need to use a workaround by temporarily changing the tag mutability for the entire repository in our buildspec.yaml file/CodePipeline to retag an image e.g. as latest.

Proposed Solution

Add an option to include exception filters for the configured imageTagMutability.

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

AWS CDK Library version (aws-cdk-lib)

2.214.0

AWS CDK CLI version

2.1023.0 (build 45ceb89)

Environment details (OS name and version, etc.)

Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-ecrRelated to Amazon Elastic Container Registryeffort/mediumMedium work item – several days of effortfeature-requestA feature should be added or improved.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions