-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathterraform.tfvars.example
45 lines (31 loc) · 1.3 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
# DigitalOcean API token
do_token = "your_token"
# Resources will be prefixed with this to avoid clashing names
prefix = "myname"
# Region where nodes should be created
region = "fra1"
# Count of agent nodes with role all
count_all_nodes = "1"
# Count of agent nodes with role etcd
count_etcd_nodes = "0"
# Count of agent nodes with role controlplane
count_controlplane_nodes = "0"
# Count of agent nodes with role worker
count_worker_nodes = "0"
# Docker version
docker_version = "17.03"
# Droplet sizes
all_size = "s-2vcpu-4gb"
etcd_size = "s-2vcpu-4gb"
controlplane_size = "s-2vcpu-4gb"
worker_size = "s-2vcpu-4gb"
# Image for nodes
image = "ubuntu-16-04-x64"
# Digital ocean domain to add A record for first all role node
digitalocean_domain = "example.com"
# DigitalOcean ssh-keyid
# ssh_keys = [ "your_key_id" ]
# Retrieve using (max 200 keys in account): `curl -s -X GET -H "Content-Type: application/json" -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" "https://api.digitalocean.com/v2/account/keys?per_page=200" | jq -r '.ssh_keys[] | select(.name=="YOUR_KEY_NAME") | .id'`
# If you have more than 200 keys in your account, use: `doctl -t $DIGITALOCEAN_TOKEN compute ssh-key list | grep YOUR_KEY_NAME | awk '{ print $1 }'`
# If this is not specified, you will get an email with the root password
ssh_keys = []