Terraform HTTP state backend implementation using Vault to store state.
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/"
}
}
- Lock support