An open API service indexing awesome lists of open source software.

https://github.com/tam7t/do-terraform-vault

A simple terraform setup for bootstrapping a vault cluster on DigitalOcean.
https://github.com/tam7t/do-terraform-vault

digitalocean terraform vault

Last synced: 2 months ago
JSON representation

A simple terraform setup for bootstrapping a vault cluster on DigitalOcean.

Awesome Lists containing this project

README

        

# do-terraform-vault
A [terraform](https://www.terraform.io/) script for setting up [vault](https://vaultproject.io/) on DigitalOcean.

# About
This script creates a block storage device to hold the vault data and runs the
official vault docker image on a CoreOS droplet.

# Usage

# terraform
* 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
* `VAULT_ADDR=http://:8200 vault init`

From here, read the [vault docs](https://vaultproject.io/docs/index.html)