cdk.json does not properly merge
If you place a context variable in ~/.cdk.json it is read and shows in the merged settings in verbose output from cdk synth. However it is discarded in the final context.
Reproduction Steps
place something like the below in ~/.cdk.json (makes sure it's not in cdk.json): { "context": { "userName": "bob" } }
Error Log
The final context output will not contain the ~/.cdk.json values.
Environment
- CLI Version :
- Framework Version:
- OS :
- Language :
Other
This is :bug: Bug Report
Reproduced issue where merged settings are not being utilized by the CLI. Looking into a fix
Duplicates #10823 of merging context from ~/.cdk.json (... where I have added PR #12394)
@shivlaks can you please link PR #12394 ?
⚠️COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.