You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So i am new to CDK and trying to learn it i noticed the --parameter in cdk deploy command doesn't give any error or at least warning while parsing the value it just uses the default value from code unless we use --parameters
so if i use below command it still uses default value which is 6 instead of 8
cdk deploy CdkStarterStack --parameter duration=8
because i missed S below is the correct command, my concern is that is doesnt give any error or warning it just uses the default value if miss the S in --parameters, its a bit concerning
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi All,
So i am new to CDK and trying to learn it i noticed the --parameter in cdk deploy command doesn't give any error or at least warning while parsing the value it just uses the default value from code unless we use --parameters
For Example -
in above code i am using duration is value
so if i use below command it still uses default value which is 6 instead of 8
cdk deploy CdkStarterStack --parameter duration=8
because i missed S below is the correct command, my concern is that is doesnt give any error or warning it just uses the default value if miss the S in --parameters, its a bit concerning
Beta Was this translation helpful? Give feedback.
All reactions