-
Notifications
You must be signed in to change notification settings - Fork 4
/
variables.tf
74 lines (62 loc) · 1.95 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
variable "create" {
description = "Should resources be created"
default = true
type = bool
}
variable "project" {
description = "Kebab-cased project name"
type = string
}
variable "environment" {
description = "Kebab-cased environment name, eg. development, staging, production."
type = string
}
variable "tags" {
description = "Tags to add to resources that support them"
type = map(string)
default = {}
}
variable "project_index" {
description = "Unique project number in 0-255 range which will be used to build the VPC CIDR block: 10.{project_index}.0.0/16"
type = number
}
variable "availability_zones_count" {
description = "Number of availability zones the network should span"
type = number
default = 2
}
variable "nat_instance" {
description = "Use NAT instances instead of NAT gateways."
type = bool
default = false
}
variable "nat_instance_type" {
description = "EC2 instance type to use to create a NAT instance."
type = string
default = "t3.nano"
}
variable "nat_instance_ami_name" {
description = "Name of the EC2 AMI used by NAT instances"
type = string
default = "amzn2-ami-kernel-5.10-hvm-2.0.20240131.0-x86_64-gp2"
}
variable "enable_dns_support" {
description = "Enable/disable DNS support in the VPC"
type = bool
default = true
}
variable "enable_dns_hostnames" {
description = "Enable/disable DNS hostnames in the VPC"
type = bool
default = false
}
variable "lb_ssl_policy" {
description = "SSL policy to set on the HTTPS ALB listener, see https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies"
type = string
default = "ELBSecurityPolicy-TLS-1-2-2017-01"
}
variable "enable_container_insights" {
description = "Enable/disable container insights for the ECS cluster"
type = bool
default = true
}