A terraform script for setting up vault on DigitalOcean.
This script creates a block storage device to hold the vault data and runs the official vault docker image on a CoreOS droplet.
- Supply all necessary variables to a
.tfvars
file terraform get
terraform plan -var-file=vault.tfvars
terraform apply -var-file=vault.tfvars
terraform destroy -var-file=vault.tfvars
VAULT_ADDR=http://<vault ip address>:8200 vault init
From here, read the vault docs