This message was deleted.
# getting-started
s
This message was deleted.
b
I do some of that
s
That's one of the methods we use.
p
Same here. Considering that pulumi uses fully-fledged programming language and not some custom DSL (looking at you, terraform), there are many ways to keep it nice and clean. That is, you don’t have to scatter the conditionals everywhere in the code. If you want to go full OOP, you can even write a factory class that’s gonna generate the correct implementation based on some
env
argument.
c
For us anything that is different is parametrised and placed in the configuration settings, so there is very little logic for env-branching. There is however, a lot of conditional logic in our code to cover the configuration mutations.
w
Thanks all 🙂