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