Is there any way to automatically create the stack...
# general
Is there any way to automatically create the stack when running
does not automatically do this, and I don’t see a different flag for it.
Not on
, but we do have
pulumi stack select --create ...
to do this.
FWIW, I've noticed that the CLI crashes out in our CD environment unless
is included, even with a previous
stack select
provided on
. There are examples that disable preview mode that may skip this code path, but the crash seems to be related to the progress bar. There might be something in our CI/CD environment that requires the
option as it's not doced in CD guides
Copy code
panic: fatal: An assertion has failed: action must be non empty

goroutine 32 [running]:
<|>, 0x16d97be, 0x18, 0x0, 0x0, 0x0)
	/home/travis/gopath/src/ +0x197
<|>, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/home/travis/gopath/src/ +0xe8
<*ProgressDisplay).refreshColumns(0xc001238000|*ProgressDisplay).refreshColumns(0xc001238000>, 0x2659b50, 0x1, 0xc0012cc230, 0x5, 0x5, 0xc0012c2d80, 0x5, 0x5)
	/home/travis/gopath/src/ +0x10d
	/home/travis/gopath/src/ +0x36e
<*ProgressDisplay).processNormalEvent(0xc001238000|*ProgressDisplay).processNormalEvent(0xc001238000>, 0x16c72e0, 0xc, 0x1559ec0, 0xc000aba640)
	/home/travis/gopath/src/ +0x45a
<*ProgressDisplay).processEvents(0xc001238000|*ProgressDisplay).processEvents(0xc001238000>, 0xc000108050, 0xc000041020)
	/home/travis/gopath/src/ +0x13d
<|>, 0xc000108050, 0xc000041020, 0xc000394000)
	/home/travis/gopath/src/ +0x3f
created by <|>
	/home/travis/gopath/src/ +0x44b
@green-hydrogen-22278 that is surprising - and does look like a bug in the CLIs detection of whether it is in an interactive terminal. I’ll open an issue and make sure we can get this fixed.