From 1c41961b4214e69326f5de893776a72f77a32c18 Mon Sep 17 00:00:00 2001 From: Jonilson Sousa Date: Wed, 1 Nov 2023 12:33:04 -0300 Subject: [PATCH] Alterando mapeamento 6 --- infra/ecs.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/infra/ecs.tf b/infra/ecs.tf index d776519..47d49d5 100644 --- a/infra/ecs.tf +++ b/infra/ecs.tf @@ -135,7 +135,7 @@ resource "aws_iam_role_policy_attachment" "ecsTaskExecutionRole_policy" { } resource "aws_service_discovery_http_namespace" "this" { - name = "lanchonete.postech" + name = "lanchonete-postech" description = "Descorberta para serviços ECS" } @@ -171,7 +171,7 @@ resource "aws_ecs_service" "payment" { namespace = aws_service_discovery_http_namespace.this.arn service { port_name = "payment" - discovery_name = "lanchonete.postech" + discovery_name = "lanchonete-postech" client_alias { dns_name = "payment-lanchonete" port = 80 @@ -219,7 +219,7 @@ resource "aws_ecs_service" "app" { namespace = aws_service_discovery_http_namespace.this.arn service { port_name = "app" - discovery_name = "lanchonete.postech" + discovery_name = "lanchonete-postech" client_alias { dns_name = "app-lanchonete" port = 80