Hey, is there a shorthand to "use existing value f...
# general
f
Hey, is there a shorthand to "use existing value for this stack, otherwise set to ..."? For example, I want to use the latest AMI for an EC2 instance, unless I am referring to a server that already exists, in which case I want to leave it alone so it doesnt redeploy?
I say shorthand, because I could do a
StackReference -> getOutput
dance, but would prefer not to if there's a shorter way 🙂
w
There is not currently - but https://github.com/pulumi/pulumi/issues/2277 is tracking this.
f
Oh cool, thanks. That would be a nice way to solve it.