https://pulumi.com logo
Title
p

prehistoric-knife-34704

12/16/2022, 1:53 AM
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

billowy-army-68599

12/16/2022, 2:21 AM
What backend are you using?
m

many-telephone-49025

12/16/2022, 11:43 AM
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

little-umbrella-71310

12/16/2022, 10:14 PM
Try using
${pulumi org name}/${stack name}
as the stack name, and make sure the other developer is also in that org
p

prehistoric-knife-34704

12/20/2022, 9:33 PM
hello
we're logged into the Pulumi service, and we own the S3 bucket for state
b

billowy-army-68599

12/20/2022, 9:45 PM
Can both users run pulumi whoami
p

prehistoric-knife-34704

12/20/2022, 11:40 PM
šŸš€ 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

billowy-army-68599

12/21/2022, 4:22 AM
how about the output of
pulumi about
p

prehistoric-knife-34704

12/22/2022, 11:09 PM
šŸš€  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

billowy-army-68599

12/22/2022, 11:10 PM
Do you both have the same backend url set
p

prehistoric-knife-34704

12/22/2022, 11:10 PM
I am asking him
j

jolly-xylophone-80564

12/23/2022, 5:00 AM
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

many-telephone-49025

12/23/2022, 8:26 AM
Looks like Ahmet is not using the S3 bucket backend as you do! He is connected to our Pulumi service
p

prehistoric-knife-34704

12/26/2022, 9:54 PM
aha
ok thanks