can you give a bit more details on the commands you used, and the error you are getting back?
h
hallowed-horse-57635
11/06/2022, 6:40 PM
example - i have a stack named aws-eks-111 alrady deployed. now using CLI (or not sure if there is any other way) i want to be able export the output. from the description on the settings tab in Pulumi console (under recovering config), i am running these commands on CLI:
# Pulumi.yaml
echo "name: ws-1" > Pulumi.yaml
echo "runtime: nodejs" >> Pulumi.yaml
# Pulumi.aws-eks-111.yaml
pulumi stack select aws-eks-111
(i get this error) error: no stack named 'aws-eks-111' found
pulumi config refresh
b
brainy-church-78120
11/06/2022, 6:49 PM
can you try adding the org name to the select statement? So pulumi stack select org-name/stack-name?
Also what does pulumi stack select output? what about pulumi stack?
h
hallowed-horse-57635
11/07/2022, 1:56 AM
thanks. that pointed me to the issue. i have two different accounts but the same org name. i logged out and logged in to the right account and it works now. Next to refresh and export
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.