fix keys for do-ams hosts
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
7601ecf331
commit
f316313a90
4
main.tf
4
main.tf
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue