bitter-oil-46081
01/29/2019, 2:19 AM<owner-name>/<project-name>/<stack-name>
, e.g if I wanted to reference some outputs from the "infra-dev" stack of the "infra" project in my account, I'd do new pulumi.StackReference("ellismg/infra/infra-dev");
When you do not specify the project name, the CLI will assume you want a stack from the current project, which is likely to be wrong. We apologize for any friction this causes. If you don't make this change, you should see errors saying that the referenced stack can't be found.
You'll also notice that URLs on app.pulumi.com now contain the name of the project a stack is in. We've temporally added some re-directs such that URLs generated by older CLIs continue to work as long as you don't duplicate a stack name across your account, but these redirects will be disabled at some point, so we encourage you to update any bookmarks you might have.
We'll be adding a gesture to the CLI soon to allow you to rename existing stacks, feel free to follow https://github.com/pulumi/pulumi/issues/2402 for information on that.
If you notice any weirdness with the new system, please feel free to either open issues on GitHub and tag me (@ellismg
) or reach out to me on Slack and we'll work to get you unblocked.
Hopefully being able to duplicate stack names across projects will make your life better. Thank you again for using Pulumi!