Interview Prep/Terraform/CI/CD and Automation

How does GitLab CI handle Terraform state?

BeginnerProductionCI/CD and Automation
Answer

GitLab offers an HTTP backend per project (https://gitlab.com/api/v4/projects/<id>/terraform/state/<name>) with locking, versioning and access control, and the gitlab-terraform wrapper script configures it. It is convenient for small teams; for multi-account setups S3 or HCP often fits better.

All Terraform questions Roadmap: Terraform in production

More on CI/CD and Automation