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