terraform_http_backend

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

README

terraform http backend

Go Version Coverage Status run tests

This is a simple go lang implementation of the terraform http backend protocol including locking. To store the information there is current only the filesystem used.

Configuration (Environment)

The http server can be configured over environment variables set in the system or in the .env file.

Follow Environment are availibe:

Variable Description Default
TF_STORAGE_DIR directory to store the uploaded terraform state file and the lock state ./store
TF_AUTH_ENABLED boolean to enable or disable basic auth security false
TF_USERNAME Username for the basic auth security only used if TF_AUTH_ENABLED is true admin
TF_PASSWORD Password for the basic auth security only used if TF_AUTH_ENABLED is true admin
TF_PORT The Port where this server will listen 8080
TF_IP The ip addr for the server to listen. If none is set the server will listen on all interfaces 127.0.0.1

Usage

Download latest release config your .env file or set the environment varibles. Than you can simple start the server with ./terraform_http_backend

Upcomming

I the future there will be a docker image and also a example systemd start script

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL