Skip to content

Terraform HTTP state backend implementation using Vault to store state

Notifications You must be signed in to change notification settings

ngrow/tfstate-http-backend-vault

Repository files navigation

tfstate-http-backend-vault

Terraform HTTP state backend implementation using Vault to store state.

Usage

Install:

go get github.com/ngrow/tfstate-http-backend-vault

Run:

VAULT_TOKEN=... tfstate-http-backend-vault

(you can use ~/.vault-token file written by vault login command)

Add terraform backend:

terraform {
  backend "http" {
    address = "http://localhost:8080/"
  }
}

TODO

  • Lock support

About

Terraform HTTP state backend implementation using Vault to store state

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages