Skip to content
Discussion options

You must be logged in to vote

This is intentional - lookup values are cached in cdk.context.json, which should be committed to Git. After you do that, there will be no further lookups during synth. I understand that may be limiting sometimes and not cover all use-cases, but it's the best practice.

This is explained here: https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.pipelines-readme.html#context-lookups

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by rix0rrr
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. @aws-cdk/pipelines CDK Pipelines library
3 participants
Converted from issue

This discussion was converted from issue #22485 on November 08, 2022 13:40.