From 61c3a211c288e9e7a732a884c2b8a04cd3956070 Mon Sep 17 00:00:00 2001 From: 433eros <115961721+433eros@users.noreply.github.com> Date: Wed, 2 Aug 2023 10:10:59 -0400 Subject: [PATCH] feat(cloudformation): Add CloudWatch log group for SSH --- configs/cloudformation/stack_template.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configs/cloudformation/stack_template.yml b/configs/cloudformation/stack_template.yml index 91f372fdb..320f5e13d 100644 --- a/configs/cloudformation/stack_template.yml +++ b/configs/cloudformation/stack_template.yml @@ -262,6 +262,14 @@ Conditions: CreateLogStashCond: !Not [!Equals [!Ref LogStashDbHost, ""]] Resources: + # CloudWatch log group for the SSH logs of ECS "container instances" (confusing term for the EC2 + # instances that run the container runtime and host ECS OCI containers) + SSHLogGroup: + Type: AWS::Logs::LogGroup + Properties: + LogGroupName: /ecs/container-instance-ssh-logs + RetentionInDays: 7 + LoadBalancerStack: Type: AWS::CloudFormation::Stack Properties: