1//------------------------------------------------------------------- 2// Vault settings 3//------------------------------------------------------------------- 4 5variable "download-url" { 6 default = "https://releases.hashicorp.com/vault/1.2.0-beta2/vault_1.2.0-beta2_linux_amd64.zip" 7 description = "URL to download Vault" 8} 9 10variable "config" { 11 description = "Configuration (text) for Vault" 12} 13 14variable "extra-install" { 15 default = "" 16 description = "Extra commands to run in the install script" 17} 18 19//------------------------------------------------------------------- 20// AWS settings 21//------------------------------------------------------------------- 22 23variable "ami" { 24 default = "ami-7eb2a716" 25 description = "AMI for Vault instances" 26} 27 28variable "availability-zones" { 29 default = "us-east-1a,us-east-1b" 30 description = "Availability zones for launching the Vault instances" 31} 32 33variable "elb-health-check" { 34 default = "HTTP:8200/v1/sys/health" 35 description = "Health check for Vault servers" 36} 37 38variable "instance_type" { 39 default = "m3.medium" 40 description = "Instance type for Vault instances" 41} 42 43variable "key-name" { 44 default = "default" 45 description = "SSH key name for Vault instances" 46} 47 48variable "nodes" { 49 default = "2" 50 description = "number of Vault instances" 51} 52 53variable "subnets" { 54 description = "list of subnets to launch Vault within" 55} 56 57variable "vpc-id" { 58 description = "VPC ID" 59} 60