forked from CommanderK5/terraform-aws-metaflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
144 lines (119 loc) · 3.6 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
variable "database_name" {
type = string
default = "metaflow"
description = "The database name"
}
variable "database_password" {
type = string
description = "The database password"
}
variable "database_username" {
type = string
description = "The database username"
}
variable "datastore_s3_bucket_kms_key_arn" {
type = string
description = "The ARN of the KMS key used to encrypt the Metaflow datastore S3 bucket"
}
variable "fargate_execution_role_arn" {
type = string
description = "This role allows Fargate to pull container images and logs. We'll use it as execution_role for our Fargate task"
}
variable "iam_partition" {
type = string
default = "aws"
description = "IAM Partition (Select aws-us-gov for AWS GovCloud, otherwise leave as is)"
}
variable "is_gov" {
type = bool
default = false
description = "Set to true if IAM partition is 'aws-us-gov'"
}
variable "metaflow_vpc_id" {
type = string
description = "VPC to deploy services into"
}
variable "resource_prefix" {
type = string
description = "Prefix given to all AWS resources to differentiate between applications"
}
variable "resource_suffix" {
type = string
description = "Suffix given to all AWS resources to differentiate between environment and workspace"
}
variable "rds_master_instance_endpoint" {
type = string
description = "The database connection endpoint in address:port format"
}
variable "s3_bucket_arn" {
type = string
description = "The ARN of the bucket used for Metaflow datastore"
}
variable "METAFLOW_DATASTORE_SYSROOT_S3" {
type = string
description = "METAFLOW_DATASTORE_SYSROOT_S3 value"
}
variable "standard_tags" {
type = map(string)
description = "The standard tags to apply to every AWS resource."
}
variable "subnet1_id" {
type = string
description = "First private subnet used for availability zone redundancy"
}
variable "subnet2_id" {
type = string
description = "Second private subnet used for availability zone redundancy"
}
variable "certificate_arn" {
type = string
description = "SSL certificate ARN. The certificate will be used by the UI load balancer."
}
variable "metadata_service_security_group_id" {
type = string
description = "The security group ID used by the MetaData service. This security group should allow connections to the RDS instance."
}
variable "extra_ui_backend_env_vars" {
type = map(string)
default = {}
description = "Additional environment variables for UI backend container"
}
variable "extra_ui_static_env_vars" {
type = map(string)
default = {}
description = "Additional environment variables for UI static app"
}
variable "ui_backend_container_image" {
type = string
default = ""
description = "Container image for UI backend"
}
variable "ui_static_container_image" {
type = string
default = ""
description = "Container image for the UI frontend app"
}
variable "ui_allow_list" {
type = list(string)
description = "A list of CIDRs the UI will be available to"
default = []
}
variable "alb_internal" {
type = bool
description = "Defines whether the ALB is internal"
default = false
}
variable "authenticate_with_cognito" {
type = bool
description = "Enable ALB Cognito authentication"
default = false
}
variable "cognito" {
type = map(string)
description = "Cognito configuration"
default = {
user_pool_arn = ""
user_pool_client_id = ""
user_pool_domain = ""
}
}