mirror of https://github.com/pulumi/pulumi.git
![]() Fixes: #3248 Before, we got a panic. in the createStack, when we had a non-default secrets provider, we were assuming the name of the stack was correct if we were in non-interactive mode This commit adds a guard against this by doing a final validation of the stack name *before* we even get into the createStack func This means, that we get the following (and not the panic) ``` ▶ pulumi stack init -s "org/" --secrets-provider="gcpkms://" error: A stack name may only contain alphanumeric, hyphens, underscores, and periods ``` |
||
---|---|---|
.. | ||
integration | ||
templates | ||
history_test.go | ||
main_test.go | ||
stack_test.go |