-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
199 lines (166 loc) · 5.1 KB
/
variables.tf
File metadata and controls
199 lines (166 loc) · 5.1 KB
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
191
192
193
194
195
196
197
198
199
variable "org_short" {
type = string
description = "Short organization name"
}
variable "project_short" {
type = string
description = "Project id (short code)"
}
variable "aws_region" {
type = string
description = "AWS Region"
default = "eu-west-2" # London, make sure that this region is also in the list of availability zones
}
variable "aws_account_id" {
type = string
description = "AWS Account ID"
}
variable "aws_access_key_id" {
type = string
description = "AWS Access Key ID, passed in via terraform environment variable TF_VAR_aws_access_key_id"
sensitive = true
}
variable "aws_secret_access_key" {
type = string
description = "AWS Secret Access Key, passed in via terraform environment variable TF_VAR_aws_secret_access_key"
sensitive = true
}
variable "environment" {
type = string
description = "Environment (dev / stage / prod)"
}
variable "name" {
type = string
description = "Name of loader (for instance 'metadata' or 'staging') which is used in all resources"
}
variable "enable_sns_cloudwatch" {
default = true
type = bool
description = "Boolean flag that determines if we switch on logging of all SNS topics to Cloudwatch"
}
variable "iam_permissions_boundary" {
type = string
description = "IAM permissions boundary policy name (ie the part after '/policy/')"
default = null
}
variable "vpc_name" {
type = string
description = "base of names for the deployed VPC assets (mandatory, even if vpc_id is not set)"
default = "digital-twin"
}
variable "neptune_s3_iam_role_arn" {
type = string
description = "ARN of the IAM role that Neptune uses to access S3"
default = null
}
variable "neptune_cluster_subnet_ids" {
type = list(string)
description = "List of subnet IDs for Neptune cluster"
default = null
}
variable "neptune_cluster_security_group_ids" {
type = set(string)
description = "Set of security group IDs for Neptune cluster"
default = null
}
variable "tags" {
type = map(string)
description = "Tags to apply to all resources"
default = {
"org_short" = "ekgf",
"project" = "dt"
"environment" = "dev"
}
}
variable "ekg_base_placeholder" {
description = "The placeholder for the EKG base URL"
type = string
default = "https://placeholder.kg"
}
variable "ekg_id_base_placeholder" {
description = "The base placeholder URL for EKG IDs"
type = string
default = "https://placeholder.kg/id"
}
variable "ekg_graph_base_placeholder" {
description = "The base placeholder URL for EKG Graph IDs"
type = string
default = "https://placeholder.kg/graph"
}
variable "ekg_base_internal" {
description = "The placeholder for the EKG base URL"
type = string
default = "https://placeholder.kg"
}
variable "ekg_id_base_internal" {
description = "The base placeholder URL for EKG IDs"
type = string
default = "https://placeholder.kg/id"
}
variable "ekg_graph_base_internal" {
description = "The base placeholder URL for EKG Graph IDs"
type = string
default = "https://placeholder.kg/graph"
}
variable "ekg_ontology_base_internal" {
description = "The base placeholder URL for the organization's own Ontology IRIs"
type = string
default = "https://placeholder.kg/ontology"
}
variable "ekg_base_external" {
description = "The EKG base URL"
type = string
}
variable "ekg_id_base_external" {
description = "The base URL for EKG IDs"
type = string
}
variable "ekg_graph_base_external" {
description = "The base URL for EKG Graph IDs"
type = string
}
variable "ekg_ontology_base_external" {
description = "The base URL for the organization's own Ontology IRIs"
type = string
}
variable "ekg_api_base" {
description = "The base URL for the EKG API"
type = string
}
variable "ekg_sparql_loader_endpoint" {
description = <<-EOT
The URL for the triple-store's loader endpoint,
this is non-standardized, currently only works for Neptune.
In future versions, if this loader endpoint is equal to the
SPARQL update endpoint, we will load the S3 file via the
SPARQL LOAD statement.
EOT
type = string
}
variable "ekg_sparql_health_endpoint" {
description = "The URL for the SPARQL health endpoint, used to check for a 200 status"
type = string
}
variable "ekg_sparql_query_endpoint" {
description = "The URL for the SPARQL query endpoint (used for ASK, SELECT or CONSTRUCT statements)"
type = string
}
variable "ekg_sparql_update_endpoint" {
description = "The URL for the SPARQL update endpoint (used for INSERT/UPDATE/DELETE, DROP, or LOAD)"
type = string
}
variable "python_bin" {
description = "The path to the python binary"
type = string
default = "python3"
}
variable "poetry_bin" {
description = "The path to the poetry binary"
type = string
default = "poetry"
}
variable "zip_bin" {
description = "The path to the zip binary"
type = string
default = "zip"
}