What incline you to use directories instead of stacks? Are the environments vastly different?
e
echoing-activity-32278
02/09/2021, 2:52 PM
Yup. dev contains much more limited resources than prod. I just feel using the same configuration file (I mean python, or go files) is not flexible unless the environments have totally the same setup and only some parameters differ.
c
creamy-engine-1851
02/10/2021, 8:48 AM
The desired workflow is of course to use stacks, and one config that builds depending on your configuration in your yaml-files. That way it's easier to test deploys that only affect dev for instance
b
bumpy-laptop-30846
02/11/2021, 11:05 AM
but in case of gitOps workflow, I would use a different stack per environment but also different branches?
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.