This message was deleted.
# general
s
This message was deleted.
w
Can you explain more about your use-case? Generally, if one has different groups of resources that are managed separately, each group would be in its own stack.
a
Since we have so many dependencies and currently there isn't a way to manage a run between multiple stacks we opted to have everything in a single stack and it's been working well. I want to be able to be as granular as I want to be. A couple of scenarios: 1. Update all services on all environments 2. Update service A on all environments 3. Update all users If there was a way to tag/label resources, like we can with Ansible, then this opens up lots of possibilities. We could still use
-t
, but target a group of resources instead of specifying each one individually.
w
And to clarify, you have cases where what is defined in the pulumi code is not 100% in synch with the actual state of the stack? In other words, after you modify the pulumi code, you don’t want to just do
pulumi up
and let pulumi figure out which resources need to be updated?
Also, when you say there isn’t a way to manage a run between multiple stacks, are you aware of the automation api? This allows you to orchestrate multiple stacks.
a
Correct, in the same way you'd use
-t
to update a single resource. This is for targeted stuff only, I'm very happy that
pulumi up
does the whole thing.
I misspoke regarding the stack dependency, I'm aware of automation API, but it wasn't available at the time. We'll probably look at it in the future, but not right now.
w
Got it. So, currently, there isn’t a tagging/grouping mechanism as you describe. I did a bit of looking and didn’t see your use-case described in any existing issues. So, I would suggest opening an issue here: https://github.com/pulumi/pulumi
a
Thank you, will do