A terraform π ui
gaia serves terraform state mgmt as an API, and can be used as a backend for terraform.
To use it, configure your terraform module using this snippet :
terraform {
backend "http" {
address="http://localhost:8080/api/state/12"
}
}
Gaia can be configured using :
- environment variables
- java JVM options
- in app settings
DOCKER_DAEMON_URL/gaia.dockerDaemonUrl(defaultunix:///var/run/docker.sock) : configure docker daemon url for Gaia runnerEXTERNAL_URL/gaia.externalUrl(defaulthttp://localhost:8080) : configure Gaia url for embedded terraform backend supportMONGODB_URI/gaia.mongodb.uri(defaultmongodb://localhost/gaia) : configure Gaia database access
Building Gaia with docker is simple :
docker build -t gaia .We provide a simple docker-compose.yml to allow you to start gaia with a mongo database.
Just run docker-compose up -d