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
I read issue #400 and it seems that SAM local no longer supports the --parameter-values CloudFormation parameter now. Just want to make sure this is intentional and that the use of --env-vars is the preferred replacement when running locally?
I have not tested if actions like deploy support --parameter-values still. Just wondering what the general direction is with regard to these configs. Thanks in advance!
yes, --env-vars is the recommended solution for sam local suite of commands. But for deploy, --parameter-values is still available and won't be deprecated.
yes, --env-vars is the recommended solution for sam local suite of commands.
Sadly that Lambda in AWS China (cn-north-1, for example) still doesn't support environment variables yet so --env-vars is not an applicable solution here. Please re-consider adding support for --parameter-values or --parameter-overrides argument to be able to pass a parameter to CloudFormation file for sam local invoke command.
@onelaview Soon! We have support for --parameter-overrides merged into develop (#657). This adds support for SAM CLI to resolve Refs of Parameters and pick up default values of those Parameters. It will be available in the next release. We will be closing #572 once this is available. Stay tuned! :)
Activity
sanathkr commentedon Jun 4, 2018
yes,
--env-varsis the recommended solution forsam localsuite of commands. But fordeploy,--parameter-valuesis still available and won't be deprecated.Does this unblock you?
metaskills commentedon Jun 6, 2018
Thank you it does. That distinct will help me upgrade to v0.3.0 once this #457 is resolved. Thanks again! Closing this issue now too.
onelaview commentedon Oct 18, 2018
Sadly that Lambda in AWS China (cn-north-1, for example) still doesn't support environment variables yet so
--env-varsis not an applicable solution here. Please re-consider adding support for--parameter-valuesor--parameter-overridesargument to be able to pass a parameter to CloudFormation file forsam local invokecommand.jfuss commentedon Oct 18, 2018
@onelaview Soon! We have support for
--parameter-overridesmerged into develop (#657). This adds support for SAM CLI to resolve Refs of Parameters and pick up default values of those Parameters. It will be available in the next release. We will be closing #572 once this is available. Stay tuned! :)onelaview commentedon Oct 18, 2018
@jfuss Wowww! my wishing comes just true in minutes! No more sad. Thanks everyone!