sparse-intern-71089
12/18/2019, 12:10 PMstocky-island-3676
12/18/2019, 12:13 PMname
in the nearest Pulumi.yaml
.?gentle-diamond-70147
12/18/2019, 2:27 PMstocky-island-3676
12/18/2019, 2:35 PMorg/project/stack
semantic is explicit & more obvious. E.g. with pulumi stack select org/project/stack
.stocky-island-3676
12/18/2019, 2:47 PMstack
s are a subpart of a project
? Or can stacks be in the Pulumi platform without a project?gentle-diamond-70147
12/18/2019, 3:21 PMdev
, staging
, prod
), so a stack always belongs to a project.stocky-island-3676
12/18/2019, 3:33 PMcolossal-beach-47527
12/18/2019, 5:01 PMorg/stack
, and we later added org/project/stack
.) So there are a few places where the interpretation of “stack identifier” isn’t quite right.
But as you mentioned, if you just use stackname
the org
and project
will be inferred. (By the Pulumi.yaml
file in the current folder, and who you are logged in as.) Similarly, org/stack
will infer the project
.)
You can specify the project name when creating a new stack though, e.g. stack init chrsmith/website-backend/production
. However, you will get an error if the project name (website-backend
) doesn’t match what is in your Pulumi.yaml file. (Since if we allowed that it would lead to some very bad situations down the line.)
So we’re working on making this more seamless, but that’s how it all works. Please don’t hesitate to ask any other questions if things are confusing.stocky-island-3676
03/30/2020, 2:23 PMstocky-island-3676
03/31/2020, 6:39 PM