forked from nhsconnect/gpit-invoicing
-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
190 lines (148 loc) · 4.36 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
variable "region" {
description = "AWS region"
default = "eu-west-2"
}
variable "app_server_instance_type" {
description = "Instance type for Odoo app server"
default = "t3.xlarge"
}
variable "postgres_user" {
description = "Root database user"
}
variable "odoo_postgres_password" {
description = "Odoo database user password"
}
variable "postgres_password" {
description = "Root database user password"
}
variable "rds_password" {
description = "Root database user password"
}
variable "rds_snapshot_id" {
description = "Snapshot to start the RDS database from"
}
#variable "gpit_invoicing_subnets" {
# description = "All subnets used by invoicing solution"
#}
variable "alb_ssl_cert" {
description = "ARN for SSL cert to be terminated on ALB"
}
#variable "gpit_invoicing_vpc" {
# description = "VPC id for invoicing solution"
#}
variable "gpit_invoicing_ami" {
description = "AMI ID of the app server for invoicing"
}
variable "odoo_image" {
description = "Odoo image to pull"
}
variable "odoo_image_version" {
description = "Version of the Odoo image to pull"
}
variable "odoo_admin_pass" {
description = "Odoo master password"
}
variable "limit_time_cpu" {
description = "limit cpu seconds per worker"
default = 10800
}
variable "limit_time_real" {
description = "limit actual seconds per worker"
default = 10800
}
variable "smtp_password" {
description = "password for smtp server"
}
variable "hosted_zone_id" {
description = "ID of hosted zone in route 53 to add alias record to"
}
variable "odoo_database" {
description = "Odoo database name"
}
variable "iam_profile" {
description = "arn of the iam profile for this instance for cloudwatch "
}
variable "domain_name" {
description = "Domain to create alias record for in Route 53"
}
variable global_enable_deletion_protection {
description = "Must be turned off explicitly thorugh console if enabled before terraform can destroy "
}
variable docker_login {
description = "username to log in to docker repo"
}
variable docker_login_password {
description = "password to log in to docker repo"
}
variable availability_zones {
description = "availablity zones available to the project"
default = ["eu-west-2a", "eu-west-2b", "eu-west-2c"]
}
variable stage {
description = "name of environment e.g. UAT, Live"
}
variable name {
description = "name of the project"
}
variable namespace {
description = "name of project"
}
variable public_subnet_cidrs {
description = "cidrs for subnet that should be publicly accessible"
default = ["10.0.0.0/20", "10.0.16.0/20", "10.0.32.0/20"]
}
variable private_subnet_cidrs {
description = "cidrs of subnets that should not be publicly accessible"
default = ["10.0.48.0/20", "10.0.64.0/20", "10.0.80.0/20"]
}
variable enabled {
description = "whether bastion host is enabled or not"
default = true
}
variable bastion_ami {
description = "the AMI ID to use for the bastion server"
default = "ami-0c216d3ab383cc403"
}
variable support_cidr_blocks {
description = "CIDRs to allow SSH access to bastion host"
default = ["0.0.0.0/0"]
}
variable kms_key_id {
description = "ARN of key from KMS to use for encyptions"
}
variable db_size_in_gb {
description = "size of database in gigabytes"
}
variable s3_bucket_name {
description = "name of s3 bucket to store odoo files"
}
variable app_server_key_name {
description = "key name for the app server"
}
variable bastion_host_key_name {
description = "key name for the bastion host"
}
variable host {
description = "Name of the host reporting to Icinga2"
}
variable icinga_host {
description = "Name of remote Icinga2 host"
}
variable icinga_port {
description = "Remote Icinga2 TCP port"
}
variable icinga_user {
description = "Remote Icinga2 credentials"
}
variable icinga_password {
description = "Remote Icinga2 credentials"
}
variable docker_config {
description = "Docker config.json as base64 (no line feeds)"
}
variable keycloak_password {
description = "Keycloak initial admin password"
}
variable keycloak_postgres_password {
description = "Keycloak Database Password"
}