Closed BSick7 closed 2 years ago
Added --var to nullstone up allowing users to specify Terraform variable values upon launch.
--var
nullstone up
This is especially helpful for the quickstarts where a service_port is different:
service_port
nullstone up --app=app --env=dev --var=service_port=8000
This --var performs light validation of the input data. Here is an example of invalid input:
$ nullstone up --block=test --env=dev -var=service_count=fail -var=service_cpu=x Performing workspace command (Org=demo, Block=test, Stack=, Env=dev) "--var" flags contain invalid values: * service_count: expected 'number' - strconv.ParseFloat: parsing "fail": invalid syntax * service_cpu: expected 'number' - strconv.ParseFloat: parsing "x": invalid syntax
Added
--var
tonullstone up
allowing users to specify Terraform variable values upon launch.This is especially helpful for the quickstarts where a
service_port
is different:This
--var
performs light validation of the input data. Here is an example of invalid input: