-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
ecr: Cannot upload docker image via DockerImageAsset (cdk default ecr enabled tag immutable attribute) #30591
Comments
@ivorycirrus Good afternoon. Somehow, I'm unable to reproduce the issue using CDK version
Kindly note that the Could you please confirm:
Thanks, |
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
Comments on closed issues and PRs are hard for our team to see. If you need help, please open a new issue that references this one. |
Describe the bug
Docker image upload fail.
Container image is created by
DockerImageAsset
.Cdk default ecr repository (
cdk-hnb659fds-container-assets-${account}-${region}
) enabledtag immutable
.When
Tag Immutable
disabled manually, the cdk code deployed successfully.Expected Behavior
DockerImageAsset
can upload docker image to ecr.Current Behavior
Error messages shows
Reproduction Steps
1/ Empty AWS account
2/ Cdk bootstrap
3/ Deploy container image using
DockerImageAsset
Possible Solution
Disable tag immutable to ecr repo (
cdk-hnb659fds-container-assets-${account}-${region}
)Additional Information/Context
No response
CDK CLI Version
2.146.0 (build b368c78)
Framework Version
No response
Node.js Version
v20.14.0
OS
macOS Sonoma 14.5
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: