-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Open
Labels
@aws-cdk/aws-ecrRelated to Amazon Elastic Container RegistryRelated to Amazon Elastic Container Registryeffort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2
Description
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
phuhung273 and lafeuil
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-ecrRelated to Amazon Elastic Container RegistryRelated to Amazon Elastic Container Registryeffort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2