❗ NOTICE ecs: v2.96.0 introduces breaking change by renaming tag
prop in ContainerImage.fromEcrRepository
function
#27240
Labels
tag
prop in ContainerImage.fromEcrRepository
function
#27240
Status
Resolved
What is the issue?
Renaming the
tag
prop totagOrDigest
of theContainerImage.fromEcrRepository
function introduces a breaking change, not for typescript users, but for other languages that require specifying the property name when calling the function in v2.96.0Error message
TypeError: from_ecr_repository() got an unexpected keyword argument 'tag'
What is the impact?
The CDK code will not compile in languages that require specifying the property name when calling the function (not typescript).
Workaround
Rename the property to
tagOrDigest
in your code, or upgrade to CDK v2.96.1 or laterWho is affected?
CDK users of languages that require specifying the property name when calling the function, using the
ContainerImage.fromEcrRepository
function.How do I resolve this?
Upgrade to v2.96.1 or later
Related issues
No response
The text was updated successfully, but these errors were encountered: