Storing Your Terraform State in Gitlab
Gitlab has a built in Terraform state feature, so rather than keeping your state in a file in the repo, the state is stored where, regardless of local file status, can be referenced when doing a Terraform Apply.
You'll need the following:
a free G...
blog.ajbothe.com8 min read