Closed NiccoloOlivieriAchille closed 1 year ago
This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.
This problem persists as of today... any plan to handle it?
Describe the bug
Hi all,
I'm building a stack with a Fargate Container which takes an image from DockerHub. Because of the limitations I'm adding the credentials to the container. At synth time everything works great, but when I deploy (via CDK Pipeline, but I think it's the same for a
cdk deploy
) it throw an errorExpected Behavior
Smooth deploy of the container, using the credentials to pull it from DockerHub
Current Behavior
On synth time everything works fine... At deploy time it throws this error:
Reproduction Steps
Possible Solution
I think the problem concerns how CDK builds the ARN "dinamically"... probably forcing the built with real region and account id fixes... right now I've found a possible solution / workaround by adding only the name of the secret (but the secret must be in the same region / account of the taskDefinition
Workaround adding only the secret name:
Additional Information/Context
No response
CDK CLI Version
2.22.0
Framework Version
No response
Node.js Version
14.19.1
OS
windows
Language
Typescript
Language Version
4.6.3
Other information
No response