How are people, if at all, managing the stack name...
# general
m
How are people, if at all, managing the stack name/referencing variation between
local
and
default
state backends? On the cloud a stack reference is derived from project name and stack name (ie.
[ORG/]PROJECT/STACK
) but locally it’s just the stack (ie.
STACK
). This means I end up with conflicts because every project has a
"local"
stack. You can specify a location per login but I presume logging in separately for every project is going to be a pain and mean I cannot do anything in parallel (a non-starter). Is my only solution to have an inconsistent stack name of “local-PROJECT” (
Pulumi.production.yml
next to
Pulumi.local-projec.yml
) or am I missing something else? Slightly unfortunate that I also have to propagate logic for handling name convention difference into my runtime for StackReference too.