sparse-intern-71089
06/07/2023, 3:41 PMclever-sunset-76585
06/08/2023, 3:29 PMPulumi.<stack name>.yaml
file. Especially, if you are running a bunch of pulumi config set ...
commands to set stack config properties. For Azure, you are required to set some provider config by default for every stack, so at the very least you'll have at least one config per stack.
Technically, there is a way to get around the error you are referring to. Instead of running pulumi stack init
you could run pulumi stack select <stack name> -c
. The -c
will cause the CLI to create the stack if it doesn't exist before selecting it. But as I mentioned above, you should check-in the stack config file as a best practice, unless you also intend to destroy the stack completely in your pipeline. Sort of like an ephemeral stack, in which case, you don't need to create anything ahead of time and simply use the -c
flag.gentle-exabyte-99244
06/12/2023, 5:41 PMclever-sunset-76585
06/12/2023, 5:43 PMpolite-sandwich-68547
06/16/2023, 11:45 AM