cfn-diagram
cfn-diagram copied to clipboard
How to use when CDK app requires context variables?
When I run npx cfn-dia html
within my CDK app, it will fail because I didn't provide the required context variables for my app. But when I try to include them (npx cfn-dia html --context "..."
), cfn-dia
doesn't approve of my --context
option:
error: unknown option '--context'
I've also tried these methods with no luck:
npx cfn-dia --context "..." html
npx cfn-dia html -- --context "..."
But the context variable is not picked up in any case.
What am I missing here? Thanks!