Skip to content

Commit

Permalink
updates SAM template with DC_ENVIRONMENT
Browse files Browse the repository at this point in the history
  • Loading branch information
awdem committed Oct 9, 2024
1 parent 29dc037 commit 85e2c5d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,17 @@ Parameters:
Default: AppAPIKey
Description: "The DC aggregator API key"
Type: AWS::SSM::Parameter::Value<String>

AppSentryDSN:
Default: SENTRY_DSN
Description: "The Sentry DSN"
Type: AWS::SSM::Parameter::Value<String>

DCEnvironment:
Default: DC_ENVIRONMENT
Description: "The DC_ENVIRONMENT environment variable passed to the app."
Type: AWS::SSM::Parameter::Value<String>

Resources:
ECDeployerRole:
Type: AWS::IAM::Role
Expand Down Expand Up @@ -64,6 +70,7 @@ Resources:
FQDN: !Ref FQDN
API_KEY: !Ref AppAPIKey
SENTRY_DSN: !Ref AppSentryDSN
DC_ENVIRONMENT: !Ref DCEnvironment
Events:
HTTPRequests:
Type: Api
Expand Down

0 comments on commit 85e2c5d

Please sign in to comment.