From 85e2c5d90cddbc03b5a23d239939069f388900f1 Mon Sep 17 00:00:00 2001 From: awdem Date: Wed, 9 Oct 2024 15:45:55 +0100 Subject: [PATCH] updates SAM template with DC_ENVIRONMENT --- template.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/template.yaml b/template.yaml index 738cb36..2121234 100644 --- a/template.yaml +++ b/template.yaml @@ -29,11 +29,17 @@ Parameters: Default: AppAPIKey Description: "The DC aggregator API key" Type: AWS::SSM::Parameter::Value + AppSentryDSN: Default: SENTRY_DSN Description: "The Sentry DSN" Type: AWS::SSM::Parameter::Value + DCEnvironment: + Default: DC_ENVIRONMENT + Description: "The DC_ENVIRONMENT environment variable passed to the app." + Type: AWS::SSM::Parameter::Value + Resources: ECDeployerRole: Type: AWS::IAM::Role @@ -64,6 +70,7 @@ Resources: FQDN: !Ref FQDN API_KEY: !Ref AppAPIKey SENTRY_DSN: !Ref AppSentryDSN + DC_ENVIRONMENT: !Ref DCEnvironment Events: HTTPRequests: Type: Api