Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks,
We currently have "base images" that our downstream containers pull from and we are in the process of upgrading from bespoke CDK pipelines to simple CDK pipelines using
aws-cdk-lib/aws-ecr-assets
. We had been doing this by sharing the URI of these base images using SSM as they are in separate projects & stacks.I have been attempting to do this by importing the SSM into the downstream stack and passing the URI as a Buildarg, but I'm running into "Cannot use tokens in keys or values of "buildArgs" since they are needed before deployment", which as per issue #3981 is as intended.
This makes me think I'm doing this wrong, but I'm not sure what the best practice is to achieve this?
The architecture I was trying to achieve is like this:
Upstream stack:
Downstream stack:
Downstream Dockerfile:
Beta Was this translation helpful? Give feedback.
All reactions