how are smaller teams (2-3 people) collaborating o...
# getting-started
s
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
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
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
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
@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
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
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
(Organization tokens are also covered in that same page.)
b
thanks @stocky-restaurant-98004 i'll give that a look 🙏
b
I don’t think that’s right @stocky-restaurant-98004.
s
My bad - I defer to Lee here.
b
@bright-angle-72523 are you on the Team plan?
b
currently yes
b
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
will do, I think @swift-translator-38931 may have run to an appointment but will check in
s
Copy code
➜  pulumi git:(branchname) pulumi stack ls -a
NAME  LAST UPDATE  RESOURCE COUNT  URL
(nothing)
b
😢
b
@bright-angle-72523 can you screenshot your teams page? https://app.pulumi.com/pushcashco/members
and/or the dropdown in the top left?
b
dropdown + teams page
b
@swift-translator-38931 what is the output of
pulumi whoami
?
s
Copy code
➜  pulumi git:(branchname) pulumi whoami 
kasi
b
That’s a different account name than the ones that’s assigned to the team
The one on the team is kasi-pushcash
s
ah ok let me try changing my login
oh ok I logged in as kasi-pushcash and it worked 😅 thanks for the help!