https://pulumi.com logo
d

damp-account-75122

02/27/2020, 5:36 PM
Hello, I am getting started with an organization and a naive run of
pulumi new
creates a project and stack in my personal account rather than the org. I cannot find a switch or env var to instruct pulumi to use the org as the default account. Is this possible? Thanks!
g

gentle-diamond-70147

02/27/2020, 5:40 PM
There's not a way to do this currently. Can you open a feature request at https://github.com/pulumi/pulumi/issues/new ? This is actually something I've wanted too. 🙂
d

damp-account-75122

02/27/2020, 5:41 PM
Aboslutely
g

gentle-diamond-70147

02/27/2020, 5:54 PM
Upvoted. 👍
m

microscopic-pilot-97530

02/27/2020, 11:10 PM
It is actually possible to do this with:
Copy code
pulumi new -s <org>/<stackname>
g

gentle-diamond-70147

02/27/2020, 11:12 PM
Oh, you're totally right. 🤦‍♂️
I do still like the idea of being able to set a default org "globally" for my machine, rather than having to specify this every time.
👍 1
Or maybe a user setting in the console?
m

microscopic-pilot-97530

02/27/2020, 11:12 PM
But it would be nice if the "wizard" asked which org to create the project/stack in.
That too
d

damp-account-75122

02/28/2020, 10:45 PM
Thanks for the note on the existing flag!