From c74153c441da88ecd6e112fe4a16fce2051a06d3 Mon Sep 17 00:00:00 2001 From: Sourav Kundu Date: Tue, 26 Mar 2024 11:22:12 +0530 Subject: [PATCH] added cluster --- infra/cluster.tf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 infra/cluster.tf diff --git a/infra/cluster.tf b/infra/cluster.tf new file mode 100644 index 0000000..a5811de --- /dev/null +++ b/infra/cluster.tf @@ -0,0 +1,15 @@ +resource "aws_ecs_cluster" "app_cluster" { + name = var.name + configuration { + execute_command_configuration { + logging = "OVERRIDE" + } + } + service_connect_defaults { + namespace = aws_service_discovery_http_namespace.namespace.arn + } + setting { + name = "containerInsights" + value = "enabled" + } +} \ No newline at end of file