|
|
|
|
|
by rainforest
2255 days ago
|
|
One use case that TF really frustrates me with is anything conditional: if I want to do blue/green the best I can do is duplicate the entire infrastructure and wrap my terraform invocations with some brittle script that repeatedly runs TF with various targets. The script only allows me to define the target state, but it is quite common that I care how that final state is reached. Create-if-not-exists is also really poor in TF (probably by design), if you want to reuse your TF configs for different environments in the same account, you either have to ensure everything won't collide name-wise, or split your TF into immutable infrastructure and really-immutable infrastructure. |
|
The looping code while better with terraform 0.12 is still quite nasty though.
https://terragrunt.gruntwork.io/docs/getting-started/quick-s...