-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
36 lines (35 loc) · 1.01 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
variable "host" {
type = string
description = "K8s cluster host"
}
variable "token" {
type = string
description = "K8s cluster token"
}
variable "cluster_ca_certificate" {
type = string
description = "K8s cluster certificate authority data"
}
variable "environments" {
type = list(object({
environment_namespace = string
hasura_graphql_dev_mode = bool
hasura_graphql_admin_secret = string
hasura_graphql_url = string
postgres_db = string
postgres_password = string
postgres_user = string
}))
description = "List of environments to create/update"
default = [
{
environment_namespace = "dev"
hasura_graphql_dev_mode = true
hasura_graphql_admin_secret = "test"
hasura_graphql_url = "graphql-dev.mydomain.com"
postgres_db = "postgres"
postgres_password = "postgres"
postgres_user = "postgres"
}
]
}