Closed gael-ft closed 1 year ago
Thanks for your report. Closing in favor of https://github.com/aws/aws-cdk/issues/25250
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug
In a stack, when you import an ECR repository (don't know if importing it or not makes a difference), then trying to use it within
image
property ofcontainer
results (after synthesis or deploy) to a URI like:Note the
[object Object]
which is the issue here.Looks like Stack tokens are not correctly resolved.
Expected Behavior
Current Behavior
Reproduction Steps
Possible Solution
When looking at Lambda function using Docker images, this is how the template looks like:
Additional Information/Context
No response
CDK CLI Version
2.77.0 (build 06a0b19)
Framework Version
No response
Node.js Version
v16.13.0
OS
MacOS
Language
Typescript
Language Version
No response
Other information
No response