---
title: "Discussion on \"Storing Your Terraform State in Gitlab\" | Hashnode"
description: "Discussion on \"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. \nYou'll need the following: \n\na free G..."
url: "https://hashnode.com/posts/storing-your-terraform-state-in-gitlab/60384698e2f3b459e4e5f5bd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Storing Your Terraform State in Gitlab](https://blog.ajbothe.com/storing-your-terraform-state-in-gitlab?utm_source=hashnode&utm_medium=feed)

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...

Feb 26, 2021 · 8 min read · blog.ajbothe.com  
Read the article

-   [#gitlab](https://hashnode.com/tag/gitlab)
-   [#terraform](https://hashnode.com/tag/terraform)
-   [#ci-cd](https://hashnode.com/tag/ci-cd)
-   [#deployment-automation](https://hashnode.com/tag/deployment-automation)

## Written by

[AJ](https://hashnode.com/@ajbot)

@ajbot · Cincinnati, USA

  
[View profile](https://hashnode.com/@ajbot)

New findings daily...

I'm a technical advocate who it looking for new challenges. I will use this blog to post new challenges, find solutions and stay technically active.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
