From d27a40243a5553bb0cb3595fdc39fc2a66a1cbe3 Mon Sep 17 00:00:00 2001 From: Michael Wittig Date: Mon, 6 Nov 2023 13:23:11 +0100 Subject: [PATCH] feat: add ContainerInsights parameter --- mastodon.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mastodon.yaml b/mastodon.yaml index 455dc0e..3a8f476 100644 --- a/mastodon.yaml +++ b/mastodon.yaml @@ -38,6 +38,11 @@ Parameters: Description: 'Provisioned storage for MySQL database (RDS)' Type: String Default: '5' + ContainerInsights: + Description: 'Enable detailed container monitoring.' + Type: String + Default: enabled + AllowedValues: [enabled, disabled] Resources: Alerting: Type: 'AWS::CloudFormation::Stack' @@ -138,7 +143,7 @@ Resources: Type: 'AWS::CloudFormation::Stack' Properties: Parameters: - ContainerInsights: 'enabled' + ContainerInsights: !Ref ContainerInsights TemplateURL: './node_modules/@cfn-modules/ecs-cluster/module.yml' WebService: Type: 'AWS::CloudFormation::Stack'