GitLab terraform init script to execute terraform init locally with GitLab backend The script temporarily moves backend.tf to backend.tf.disabled and restores this at the end.