Versioning tracks successive changes to infrastructure code. Git-based source control also supports collaboration, review, automated workflows, and audit trails. section 1.1.1 section 7.1.1
For reusable Terraform modules, versioning and registries help make modules easier to use. GitOps adds a shared repository as the source of truth for infrastructure configuration. section 8.1 section 8.3
Common uses include:
- Create branches to test infrastructure changes; use pull requests to request review and require tests to pass. section 1.1.1
- In GitOps, let a deployment system pull configuration from a shared repository and pass it to Terraform. section 8.3
























