-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables.tf
118 lines (98 loc) · 2.76 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
terraform {
required_version = ">= 0.12"
}
variable "chain" {
type = string
description = "The chain (can be polkadot, kusama)"
default = "polkadot"
}
variable "polkadot_archive_url" {
type = string
description = "archive url"
}
variable "polkadot_node_keys" {
type = map
description = "map between hostname of polkadot nodes and their node keys"
default = {}
}
variable "polkadot_version" {
type = string
description = "Version of the polkadot containers to use"
}
variable "payout_account_address" {
type = string
description = "Dust account to send payoutStakers extrinsics from"
default = ""
}
variable "payout_account_mnemonic" {
type = string
description = "The secret key for the payout accout mnemonic"
default = ""
}
variable "project" {
type = string
default = ""
description = "Project ID where Terraform is authenticated to run to create additional projects. If provided, Terraform will create the GKE cluster inside this project. If not given, Terraform will generate a new project."
}
variable "org_id" {
type = string
description = "Organization ID."
default = ""
}
variable "region" {
type = string
description = "GCP Region. Only necessary when creating cluster manually"
default = ""
}
variable "billing_account" {
type = string
description = "Billing account ID."
default = ""
}
variable "kubernetes_namespace" {
type = string
description = "kubernetes namespace to deploy the resource into"
default = "polkadot"
}
variable "kubernetes_name_prefix" {
type = string
description = "kubernetes name prefix to prepend to all resources (should be short, like DOT)"
default = "dot"
}
variable "kubernetes_endpoint" {
type = string
description = "name of the kubernetes endpoint"
default = ""
}
variable "cluster_ca_certificate" {
type = string
description = "kubernetes cluster certificate"
default = ""
}
variable "cluster_name" {
type = string
description = "name of the kubernetes cluster"
default = ""
}
variable "kubernetes_access_token" {
type = string
description = "name of the kubernetes endpoint"
default = ""
}
variable "terraform_service_account_credentials" {
type = string
description = "path to terraform service account file, created following the instructions in https://cloud.google.com/community/tutorials/managing-gcp-projects-with-terraform"
default = "~/.config/gcloud/application_default_credentials.json"
}
variable "telegram_alert_chat_id" {
type = string
description = "chat id for polkadot panic alerter"
}
variable "telegram_alert_chat_token" {
type = string
description = "the secret token for telegram panic alerter"
}
variable "polkadot_stash_account_address" {
type = string
description = "the stash address"
}