https://pulumi.com logo
#getting-started
Title
# getting-started
s

swift-translator-38931

10/03/2023, 5:05 PM
how are smaller teams (2-3 people) collaborating on pulumi? seems like multiple people can't bring up (and develop) the same stack in a non-enterprise org. Should we each develop separate instances of a stack? Also is this possible on the same AWS account?
b

billowy-army-68599

10/03/2023, 5:09 PM
stacks are single threaded for good reason, if multiple people are deploying to the same stack, you’re sending multiple API calls that are likely different. You likely want to have personal stacks for development and testing and then move those changes into a account defined “production” stack
s

swift-translator-38931

10/03/2023, 5:13 PM
it's possible to deploy multiple stacks to the same AWS account right? are there any best practices I should know to differentiate different stacks deployed on the same AWS acc?
b

billowy-army-68599

10/03/2023, 5:15 PM
yes absolutely, things should be autonamed in a way that means they don’t clash, unless you set explicit names on resources
you can always infer the stack name in the resource, get using
get_stack
and including it in your resource name
b

bright-angle-72523

10/03/2023, 5:37 PM
@billowy-army-68599 is there a cheap way to have two folks share a stack? we have a pretty small team and I think we'd be ok holding a lock on a stack while someone is making changes
ie we don't need concurrency
(also 👋 , kasi and I are the small team)
b

billowy-army-68599

10/03/2023, 5:40 PM
this is how it currently works, you can work on the same stack, and if someone does
pulumi up
on a stack that is currently running an
up
on something, it will tell you that it’s locked
b

bright-angle-72523

10/03/2023, 5:42 PM
the root of the problem is, how do I grant Kasi access to a stack in our organization?
he's in our organization
pushcashco
but doesn't have access to any of the stacks i've created
s

stocky-restaurant-98004

10/03/2023, 6:10 PM
(Organization tokens are also covered in that same page.)
b

bright-angle-72523

10/03/2023, 6:11 PM
thanks @stocky-restaurant-98004 i'll give that a look 🙏
b

billowy-army-68599

10/03/2023, 6:12 PM
I don’t think that’s right @stocky-restaurant-98004.
s

stocky-restaurant-98004

10/03/2023, 6:12 PM
My bad - I defer to Lee here.
b

billowy-army-68599

10/03/2023, 6:12 PM
@bright-angle-72523 are you on the Team plan?
b

bright-angle-72523

10/03/2023, 6:12 PM
currently yes
b

billowy-army-68599

10/03/2023, 6:13 PM
can you both run
pulumi stack ls -a
and make sure the lists match up, if you’d like to DM them to me, feel free to do that
b

bright-angle-72523

10/03/2023, 6:14 PM
will do, I think @swift-translator-38931 may have run to an appointment but will check in
s

swift-translator-38931

10/03/2023, 6:34 PM
Copy code
➜  pulumi git:(branchname) pulumi stack ls -a
NAME  LAST UPDATE  RESOURCE COUNT  URL
(nothing)
b

bright-angle-72523

10/03/2023, 6:35 PM
😢
b

billowy-army-68599

10/03/2023, 6:43 PM
@bright-angle-72523 can you screenshot your teams page? https://app.pulumi.com/pushcashco/members
and/or the dropdown in the top left?
b

bright-angle-72523

10/03/2023, 7:36 PM
dropdown + teams page
b

billowy-army-68599

10/03/2023, 7:53 PM
@swift-translator-38931 what is the output of
pulumi whoami
?
s

swift-translator-38931

10/03/2023, 8:45 PM
Copy code
➜  pulumi git:(branchname) pulumi whoami 
kasi
b

billowy-army-68599

10/03/2023, 8:46 PM
That’s a different account name than the ones that’s assigned to the team
The one on the team is kasi-pushcash
s

swift-translator-38931

10/03/2023, 8:46 PM
ah ok let me try changing my login
oh ok I logged in as kasi-pushcash and it worked 😅 thanks for the help!