Repository navigation
cdk.context.json is not created. #26410
Replies: 3 comments 5 replies
|
Couple things to check/try:
|
|
Hello! Reopening this discussion to make it searchable. |
|
In my case, the cdk-synth STOPPED updating To the point noted by @peterwoodworth .. In my case, I could clearly see the following: FYI: My env = Environment(
account=os.environ["CDK_DEFAULT_ACCOUNT"],
region=os.environ["CDK_DEFAULT_REGION"],
)$ npx cdk --version
2.1005.0 (build be378de)I printed out UpdateRunning the following command .. got rid of that (above noted) error message.
But, STILL --NO-- ❌ cdk.context.json !! |

Couple things to check/try:
cdk synth -vinstead, I'm not familiar with exactly whatcdk listdoes under the hood off the top of my headcdk synth -v. Does the file get generated then? If so, you're probably running into the same bug as described here