Skip to content

(aws-ecr): missing ecr supports for ipv6 #35052

@Vahor

Description

@Vahor

Describe the feature

Since may 2025, aws supports ipv6 for ecr https://aws.amazon.com/about-aws/whats-new/2025/05/amazon-ecr-support-ipv6/.

To use it we need to use <registry-id>.dkr-ecr.<aws-region>.on.aws as image url.
But currently it seems that cdk only generates <id>.dkr.ecr.<region-name>.amazonaws.com urls.

Use Case

We have servers that don't have ipv4.
Currently, we need to use a vpc endpoint to reach ecr servers.

Proposed Solution

Add a parameter in DockerImageAsset to chose which ecr repository will be used.
Or directly in fargate / server configuration.

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)

all

AWS CDK CLI version

all

Environment details (OS name and version, etc.)

all

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