|
|
|
|
|
by jpdb
809 days ago
|
|
And if you're pairing your infra-as-code with a gitops model then you can help prevent these kinds of issues with PRs. You can also use your git history to restore the infrastructure itself. You may lose some data, but it's also possible to have destroyed resources retain their data or backup before destroy. |
|
Production and staging are the farthest you can get from pure immutable environment that you can get. They carry state around all over the place. It's their entire reason for existing in some sense.
This means that while git-ops can be helpful in some ways it can also be incredibly dangerous in others. I'm not entirely sure it doesn't all come out in the wash in the end.