mirror of https://github.com/pulumi/pulumi.git
37bc9d443f
Originally, `pulumi new` did not run `up` after generating a project. To help users get a deployed stack as quickly as possible, we changed `pulumi new` to run an initial deployment at the end of its operation. Users would first see a preview and get to decide whether to proceed with an initial deployment, and then continue to iterate from there. Note that this would only happen for nodejs projects (TypeScript/JavaScript). We would not run `up` for Python projects as we require the user to run `pip install` in a virtualenv, so we'd print instructions with the necessary commands the user must run instead. Running `up` as part of `pulumi new` for nodejs projects has ended up being more confusing than helpful for new users, and annoying for experienced users. New users aren't expecting `pulumi new` to run an initial deployment after generating the project (they haven't even looked at the project source yet). Experienced users find it frustrating as you typically want to just generate the project, and don't want to have to wait for the preview just to decline running the update. This change reverts `pulumi new` back to not running `up` automatically for nodejs projects. Instead, like with Python projects, at the end of the operation, we print instructions to the user to run `pulumi up` to deploy the project. |
||
---|---|---|
.. | ||
cancel.go | ||
config.go | ||
config_test.go | ||
destroy.go | ||
errors.go | ||
gen_completion.go | ||
gen_markdown.go | ||
history.go | ||
login.go | ||
logout.go | ||
logs.go | ||
logs_test.go | ||
new.go | ||
plugin.go | ||
plugin_install.go | ||
plugin_ls.go | ||
plugin_rm.go | ||
preview.go | ||
pulumi.go | ||
refresh.go | ||
stack.go | ||
stack_export.go | ||
stack_graph.go | ||
stack_import.go | ||
stack_init.go | ||
stack_ls.go | ||
stack_output.go | ||
stack_output_test.go | ||
stack_rm.go | ||
stack_select.go | ||
stack_tag.go | ||
state.go | ||
state_delete.go | ||
state_unprotect.go | ||
up.go | ||
util.go | ||
util_test.go | ||
version.go | ||
whoami.go |