Skip to content

cdk.context.json is not created. #26410

Discussion options

You must be logged in to vote

Couple things to check/try:

  • Did you specify the environment in your stack?
  • Try running cdk synth -v instead, I'm not familiar with exactly what cdk list does under the hood off the top of my head
  • Try commenting out all parts of your stack except the lookup, and running cdk synth -v. Does the file get generated then? If so, you're probably running into the same bug as described here

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@DariocfTrendzact
Comment options

Answer selected by peterwoodworth
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@sarma-nci-nih-essex
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants