generated from snowplow-devops/terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
98 lines (82 loc) · 2.47 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
86
87
88
89
90
91
92
93
94
95
96
97
98
variable "name" {
description = "A name which will be pre-pended to the resources created"
type = string
}
variable "instance_group_version_name" {
description = "A name to give to the instance group version control (e.g. app_name + app_version)"
type = string
}
variable "region" {
description = "The name of the region to deploy within"
type = string
}
variable "network" {
description = "The name of the network to deploy within"
type = string
}
variable "subnetwork" {
description = "The name of the sub-network to deploy within; if populated will override the 'network' setting"
type = string
default = ""
}
variable "machine_type" {
description = "The machine type to use"
type = string
default = "e2-small"
}
variable "target_size" {
description = "The number of servers to deploy"
default = 1
type = number
}
variable "associate_public_ip_address" {
description = "Whether to assign a public ip address to this instance; if false this instance must be behind a Cloud NAT to connect to the internet"
type = bool
default = true
}
variable "ssh_block_project_keys" {
description = "Whether to block project wide SSH keys"
type = bool
default = true
}
variable "ssh_key_pairs" {
description = "The list of SSH key-pairs to add to the servers"
default = []
type = list(object({
user_name = string
public_key = string
}))
}
variable "named_port_http" {
description = "The name to give to the bound port on the instance group"
type = string
default = ""
}
variable "ingress_port" {
description = "The port that the service will be bound to and exposed over HTTP"
type = number
default = -1
}
variable "health_check_path" {
description = "The path to bind for health checks"
type = string
default = ""
}
variable "user_supplied_script" {
description = "The user-data script extension to execute"
type = string
}
variable "ubuntu_20_04_source_image" {
description = "The source image to use which must be based of of Ubuntu 20.04; by default the latest community version is used"
default = ""
type = string
}
variable "service_account_email" {
description = "The name of the service account email address to bind to the deployment"
type = string
}
variable "labels" {
description = "The labels to append to this resource"
default = {}
type = map(string)
}