Reputation: 616
I've just pulled an IaC repo with Pulumi code, and I'm trying to select my default stack, but when I run pulumi stack ls -a
no stacks are listed:
% pulumi stack ls --all
NAME LAST UPDATE RESOURCE COUNT URL
%
When I try to select the stack outright it tells me the stack doesn't exist:
% pulumi stack select <org>/<project>/delta
error: no stack named 'delta' found
%
Which is particularly frustrating, because if I try to create a stack named delta
I get:
% pulumi stack
Please choose a stack, or create a new one: <create a new stack>
Please enter your desired stack name.
To create a stack in an organization, use the format <org-name>/<stack-name> (e.g. `acmecorp/dev`): delta
Please enter your desired stack name.
error: stack '<org>/<project>/delta' already exists
%
Clearly, I'm missing something. What is it?
Upvotes: 0
Views: 35
Reputation: 616
It seems that some IT genius made an account for me in Pulumi but didn't add me to any groups ergo I can't see any of our stacks. The Pulumi web UI is a little broken though, so I'm able to see the index of stacks by merely being a member of the organization; when I click on any stack I get a 404 page for the stack details. The index showing the stack made me believe I had privileges.
Upvotes: 0