Avoid context values validation on "cdk ls" command #28100
-
I have a python based CDK app that validates context values to make sure the "Required" context values are passed in. I do something like this:
But I do not want this validation to be triggered when I run a command like "cdk ls" (the context variable does not affect the number of stacks created by the app). Is that even a reasonable ask? If that is not possible, should I do validation differently? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Annotations were what I needed. Instead of
I used
|
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
Annotations were what I needed.
Instead of
I used