GitLab provides a Terraform HTTP backend to securely store your state files with minimal configuration.
In GitLab, you can:
Version your Terraform state files.
Encrypt the state file both in transit and at rest.
Lock and unlock states.
Remotely execute terraform plan and terraform apply commands.
In this video we learn how to set up the initial http backend for storing state file and then transfer local state file to Gitlab and in continue will describe how to import and manage existing Repositories on gitlab by Terraform.
Ещё видео!