fix keys for do-ams hosts

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-05-22 10:41:06 -04:00
parent 7601ecf331
commit f316313a90
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 2 additions and 2 deletions

View File

@ -83,8 +83,8 @@ resource "cloudflare_load_balancer_pool" "main" {
notification_email = "jakub@status.im"
minimum_origins = 1
origins {
name = "${element(keys(module.swarm.hosts["do-ams3"]), 0)}"
address = "${element(values(module.swarm.hosts["do-ams3"]), 0)}"
name = "${element(keys(module.swarm.hosts["do-eu-amsterdam3"]), 0)}"
address = "${element(values(module.swarm.hosts["do-eu-amsterdam3"]), 0)}"
enabled = true
}
origins {