I'm using the AWS CDK, and currently I have parameters that I want to be able to change in a sort of configuration file. I can't use the --parameters argument from the command line because A) I need to use the parameter values in the actual code (mainly in function calls/if statements) and B) There are enough parameters that it would be annoying to type every single one into the command line.
Is there some type of way I can just define a JSON or YAML file that the user can edit, and then use those values directly in the cdk_stack.py file?