3 ms·
As I said, you need to know how that infrastructure is built. Terraform is just fine. If you call to spin up a VM with a disk that's been imaged to a standard,
by kodah 3y ago
As I said, you need to know how that infrastructure is built. Terraform is just fine. If you call to spin up a VM with a disk that's been imaged to a standard, that is immutable. Functions can also be made immutable by programming in a way that takes into account potential shared state.
- klysm 3y agoTerraform works by tracking mutable state though which was my point
- kodah 3y agoAh, state is relative in this context. A VM lacks state when you determine the starting state. A function lacks state depending on how you code it and the contracts you have. A CDN is always stateful. Sometimes the Terraform state overlaps with an entities internal state but most of the time not. "Immutable infrastructure" state refers to internal state, not Terraform state.
- klysm 3y agoAh I see what you mean and I agree it’s possible to achieve immutable infrastructure in that sense.