-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path03-main.tf
20 lines (19 loc) · 821 Bytes
/
03-main.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
## This module creates number of servers in each of provided region.
## I.e. if number_of_servers = 2 and regions = ["nyc1", "nyc2", "nyc3"] this will create six servers at summary.
## # https://github.com/Arriven/db1000n/releases
module "db1000n" {
source = "./module"
count = 2
regions = ["nyc1", "nyc3", "sfo3", "ams3", "sgp1", "lon1", "fra1", "tor1", "blr1"]
db1000n_version = "v0.5.20"
name = "db00-${count.index}"
digitalocean_tag = "stop-sites"
image_name = "ubuntu-20-04-x64"
size = "s-1vcpu-1gb"
ipv6 = true
backups = false
monitoring = true
droplet_agent = true
tags = "stop-sites"
digitalocean_ssh_key = "ssh_user_key_name"
}