Skip to content

Commit

Permalink
routing_policy = MULTIVALUE required for A records
Browse files Browse the repository at this point in the history
  • Loading branch information
alephnull committed Aug 5, 2020
1 parent 7b8ff8e commit fcd4f1f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions terraform/devenv/dashboard.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ resource "aws_service_discovery_service" "dashboard" {
ttl = 60
type = "A"
}
routing_policy = "MULTIVALUE"
}
}

Expand Down
3 changes: 2 additions & 1 deletion terraform/devenv/gateway.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ resource "aws_service_discovery_service" "gateway" {
ttl = 60
type = "A"
}
routing_policy = "MULTIVALUE"
}
}

Expand Down Expand Up @@ -106,6 +107,7 @@ resource "aws_service_discovery_service" "redis" {
ttl = 60
type = "A"
}
routing_policy = "MULTIVALUE"
}
}

Expand All @@ -125,7 +127,6 @@ resource "aws_ecs_service" "redis" {

service_registries {
registry_arn = aws_service_discovery_service.redis.arn
port = 6379
}

tags = local.common_tags
Expand Down
1 change: 1 addition & 0 deletions terraform/devenv/pump.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ resource "aws_service_discovery_service" "pump" {
ttl = 60
type = "A"
}
routing_policy = "MULTIVALUE"
}
}

Expand Down

0 comments on commit fcd4f1f

Please sign in to comment.