-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
85 lines (68 loc) · 2.52 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
variable "alb_log_bucket" {
description = "s3 bucket to send ALB Logs"
}
variable "vault_image" {
description = "Image to use when deploying vault, defaults to the hashicorp vault image"
default = "vault:latest"
}
variable "cloudwatch_log_retention" {
default = "30"
description = "Specifies the number of days you want to retain log events in the specified log group. (defaults to 30)"
}
variable "desired_count" {
description = "Number of vaults that ECS should run."
default = "2"
}
variable "dns_zone" {
description = "Zone where the Consul UI alb will be created. This should *not* be consul.example.com"
default = ""
}
variable "ecs_cluster_ids" {
type = list(string)
description = "List of ARNs of the ECS Cluster IDs"
}
variable "env" {
}
variable "hostname" {
description = "DNS Hostname for the bastion host. Defaults to $${VPC NAME}.$${dns_zone} if hostname is not set"
default = ""
}
variable "iam_path" {
default = "/"
description = "IAM path, this is useful when creating resources with the same name across multiple regions. Defaults to /"
}
variable "lb_deregistration_delay" {
default = "300"
description = "The amount time for Elastic Load Balancing to wait before changing the state of a deregistering target from draining to unused. The range is 0-3600 seconds. (Default: 300)"
}
variable "service_minimum_healthy_percent" {
description = "The minimum healthy percent represents a lower limit on the number of your service's tasks that must remain in the RUNNING state during a deployment (default 50)"
default = "50"
}
variable "subnets" {
type = list(string)
description = "List of subnets used to deploy the Consul alb"
}
variable "tags" {
type = map(string)
description = "A map of tags to add to all resources"
default = {}
}
variable "unseal_keys" {
type = list(string)
description = "List of 3 Vault Unseal keys"
}
variable "enable_vault_ui" {
description = "Enables the built-in web UI, which is available on all listeners (address + port) at the /ui path. (Vault Enterprise, or Vault OSS 0.10+) Browsers accessing the standard Vault API address will automatically redirect there."
default = true
}
variable "vpc_id" {
}
variable "initialize" {
type = string
default = "false"
description = "Runs a `vault operator init` command to initialize the Vault backend. Run this once and then extract the unseal keys from the ECS task's logs."
}
variable "access_logs_enabled" {
default = true
}