{"repo":"plumber-cd/terraform-backend-git","free":true,"listed":false,"github":"https://github.com/plumber-cd/terraform-backend-git","clone":"git clone https://github.com/plumber-cd/terraform-backend-git.git","description":"Terraform HTTP Backend implementation that uses Git repository as storage","language":"Go","stars":331,"topics":["terraform-backends","terraform"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"Terraform State management using Git Git as Terraform backend? Seriously? I know, might sound like a stupid idea at first, but let me try to convince you why it's not always the case. Table of Contents - Terraform State management using Git - Table of Contents - Getting Started - Installation - Brew - From Release - As Docker Image - As Github Action - From Sources - Usage - Wrapper Mode - Hashicorp Configuration Language (HCL) Mode - Standalone Terraform HTTP Backend Mode - Wrappers CLI - Configuration - Git Credentials - State Encryption - sops - PGP - AWS KMS - GCP KMS - Hashicorp Vault - Age - AES256 - Running backend remotely - TLS - Basic HTTP Authentication - Why not native Terraform Backend - Why storing state in Git - Proposed solution - Lock - Check existing Lock - Unlock - Get state - Update state - Delete state Getting Started Installation Brew Installation with Brew is coming later. From Release Download a binary from Releases. All binaries built with GitHub Actions and you can inspect how. Don't forget to add it to your PATH . As Docker Image See . As Github Action See . From Sources You can build it yourself, of course (and Go made it really easy): Don't forget to add it to your PATH . Usage The most easy to understand option is the wrapper mode. Wrapper Mode Assuming you've installed Terraform as well as this backend (and added it to your PATH ), you can do this: terraform-backend-git will act as a wrapper. It will start HTTP backend, generate Terraform config","default_branch":null,"files":null,"tree":[],"storefront":"/r/plumber-cd","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/plumber-cd/terraform-backend-git/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}