hi everyone, I am trying to share a stack with ano...
# getting-started
p
hi everyone, I am trying to share a stack with another developer. There's a Pulumi.yaml in the project dir, and a Pulumi.cicd.yaml alongside it. I can build the
cicd
stack no problem, but when the other developer checks out the same git repo with those files, he finds no stacks, even though he has both yaml files.
b
What backend are you using?
m
Hi Roger, What @billowy-army-68599 wrote! It's important to know how you access the state file. Is it self-hosted or are you using for example our Pulumi Service?
l
Try using
${pulumi org name}/${stack name}
as the stack name, and make sure the other developer is also in that org
p
hello
we're logged into the Pulumi service, and we own the S3 bucket for state
b
Can both users run pulumi whoami
p
šŸš€ pulumi whoami roger.billerey.mosier
Ahmet is in a very different time zone and I'm not sure when he'll see this (I fwded the request to him)
~/code/pulumi-infra $: pulumi whoami serkankaratas
b
how about the output of
pulumi about
p
Copy code
šŸš€  pulumi about
CLI          
Version      3.49.0
Go Version   go1.19.4
Go Compiler  gc

Plugins
NAME        VERSION
aws         4.38.1
command     0.2.0
mysql       3.1.0
postgresql  3.4.0
python      unknown

Host     
OS       darwin
Version  12.4
Arch     arm64

This project is written in python: executable='/opt/homebrew/bin/python3' version='3.10.8
'

Current Stack: cicd

TYPE                      URN
pulumi:pulumi:Stack       urn:pulumi:cicd::viztel::pulumi:pulumi:Stack::viztel-cicd
pulumi:providers:aws      urn:pulumi:cicd::viztel::pulumi:providers:aws::default
pulumi:providers:aws      urn:pulumi:cicd::viztel::pulumi:providers:aws::aws-local
aws:dynamodb/table:Table  urn:pulumi:cicd::viztel::aws:dynamodb/table:Table::xx
aws:dynamodb/table:Table  urn:pulumi:cicd::viztel::aws:dynamodb/table:Table::xxx
aws:dynamodb/table:Table  urn:pulumi:cicd::viztel::aws:dynamodb/table:Table::xxxx
aws:dynamodb/table:Table  urn:pulumi:cicd::viztel::aws:dynamodb/table:Table::xxxxx
aws:dynamodb/table:Table  urn:pulumi:cicd::viztel::aws:dynamodb/table:Table::xxxxxx
pulumi:providers:command  urn:pulumi:cicd::viztel::pulumi:providers:command::default_0_2_0
command:local:Command     urn:pulumi:cicd::viztel::command:local:Command::dynamodb-server-seed
command:local:Command     urn:pulumi:cicd::viztel::command:local:Command::dynamodb-setup-seed
command:local:Command     urn:pulumi:cicd::viztel::command:local:Command::yyy
command:local:Command     urn:pulumi:cicd::viztel::command:local:Command::yyyy


Found no pending operations associated with cicd

Backend        
Name           ITs-MacBook-Pro
URL            <s3://xxxxxxxxxx-cicd-pulumi>
User           roger.billerey.mosier
Organizations  

Dependencies:
NAME               VERSION
dynamodb-json      1.3.0
Jinja2             3.1.2
lineinfile         0.4.0
netifaces          0.11.0
pip                22.2.2
pulumi-aws         4.38.1
pulumi-command     0.2.0
pulumi-mysql       3.1.0
pulumi-postgresql  3.4.0
pytest             7.1.2
python-dotenv      0.20.0
radiusutils        0.15.38
setuptools         65.3.0
sshconf            0.2.3
wheel              0.37.1

Pulumi locates its logs in /var/folders/9z/drn026nj0_3f4m86s3yy88gh0000gr/T/ by default
b
Do you both have the same backend url set
p
I am asking him
j
pulumi about CLI Version 3.50.2 Go Version go1.19.4 Go Compiler gc Plugins NAME VERSION aws 4.38.1 command 0.2.0 mysql 3.1.0 postgresql 3.4.0 python unknown Host OS darwin Version 12.3 Arch arm64 This project is written in python: executable=ā€˜/Users/serkan.karatas/.pyenv/shims/python3ā€™ version=ā€˜3.10.8 ā€™ Backend Name pulumi.com URL https://app.pulumi.com/serkankaratas User serkankaratas Organizations serkankaratas Dependencies: NAME VERSION dynamodb-json 1.3.0 Jinja2 3.1.2 lineinfile 0.4.0 netifaces 0.11.0 pip 22.3.1 pulumi-aws 4.38.1 pulumi-command 0.2.0 pulumi-mysql 3.1.0 pulumi-postgresql 3.4.0 pytest 7.1.2 python-dotenv 0.20.0 radiusutils 0.15.38 setuptools 65.6.3 sshconf 0.2.3 wheel 0.38.4 Pulumi locates its logs in /var/folders/fg/40mmj27j7pb2dy00cyp0bpq80000gq/T/ by default warning: Failed to get information about the current stack: No current stack
m
Looks like Ahmet is not using the S3 bucket backend as you do! He is connected to our Pulumi service
p
aha
ok thanks