sparkleformation / sfn

SparkleFormation CLI
http://www.sparkleformation.io
Apache License 2.0
63 stars 24 forks source link

How to use --interactive-parameters #280

Closed moatazelmasry2 closed 6 years ago

moatazelmasry2 commented 6 years ago

Hi everyone,

I have default values of the parameters. Sparkleformation is still prompting for the parameters and accepting a default value when creating or updating a stack. I'm trying to make this step quiet (no prompt).

Using --interactive-parameters false|False|FALSE.. is not working and I'm still being prompted. Anyone knows how to make the creation/update of stacks non interactive???

jimcroft commented 6 years ago

IIRC if you pass -d to the sfn create/update command it'll go with the default values and not prompt.

Relying on default template values alone isn't great. If you want to use a new value during an update you'd have to supply it on the command line or interactively, and update won't change an existing parameter value to the new default value.

This plugin https://github.com/sparkleformation/sfn-parameters is definitely worth a look.

moatazelmasry2 commented 6 years ago

Thanks a lot. This solves my problem. Also thanks for plugin Tip