|
|
|
|
|
by arlk
1811 days ago
|
|
From what I experienced, per-environment branches is a bad practice that eventually will be a big burden to deal with especially when environments don't match. Actually the concept of "staging" in infrastructure is different than it in code, which is the usual source of confusion. The best strategy is to have a repository for your modules only so you can specify the version[0] you want to use, and separate environments by folders. [0]: https://www.terraform.io/docs/language/modules/sources.html#... |
|