This repository has been archived by the owner on Jun 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
terraform.tfvars.example
60 lines (52 loc) · 2.78 KB
/
terraform.tfvars.example
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
# This is the very minimum variables example file. You have to put Azure-related login variables, validator keys from Polkadot, and a content of your SSH public key that will be used to connect to the instance. For the full list of supported variables see variables.tf file in the root directory of this repo.
## Can be omitted if you are logged into Azure CLI (use `az login` command)
# azure_subscription = ""
# azure_client = ""
# azure_client_secret = ""
# azure_tenant = ""
## Resource group to create resources at
azure_rg = "Web3"
## To get the instance type `az vm list-skus --location $REGION --output table` command, where region is each of the 3 regions you will install failover validator at.
## By default regions are: centralus, eastus, westus.
## Find SKU that is available at each of the selected region
instance_type = ""
validator_name = ""
validator_keys = {
key = {
key="0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
type="gran"
seed="click click click click click click click click click click click click"
},
key2 = {
key="0xbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
type="babe"
seed="organ organ organ organ organ organ organ organ organ organ organ organ"
},
key3 = {
key="0xcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
type="imon"
seed="olive olive olive olive olive olive olive olive olive olive olive olive"
},
key4 = {
key="0xdddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd"
type="para"
seed="upper upper upper upper upper upper upper upper upper upper upper upper"
},
key5 = {
key="0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"
type="audi"
seed="cat cat cat cat cat cat cat cat cat cat cat cat"
}
}
# This is the SSH key to be used on all the machines
ssh_key_content = "ssh-rsa AAAAAAaaaaaaaaaaaaaaaaaaaaaaaaaaAAAAAAAAAAAAAAAAAAAaaaaaaaaaaaaaaaaaaaAAAAAAAAAAAAAaaaaaaaaaaaaaaaaAAAAAAAAAAaaaaaaaaaaaaaAAAAAAAAaaaaaaaaaaaaAAAAAAAAaaaaaaaaaaaaaAAAAAAAaaaaaaaaaaaaaaaaaaaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaAAAAAAAAAAAAAAAAAAAAAAaaaaaaaaaaaaaaaaaaaAAAaa user@node"
# This is the SSH user name to be used on all the machines
ssh_user = "polkadot"
# This variable is used to avoid infrastructure crossing and for security purposes also. Infrastructure with `prefix` exists in its own namespace
prefix = "prefix"
# Node key is used to unify nodes ids. This is the HEX ed25519 key without 0x prefix
node_key = "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
# The email address to send alerts to
admin_email = "admin@protofire.io"
# Failover mode (single|distributed)
failover_mode = distributed