Skip to content

Commit

Permalink
Fix Beta template
Browse files Browse the repository at this point in the history
  • Loading branch information
farski committed Oct 23, 2024
1 parent 0f73967 commit b319a77
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions spire/templates/apps-200A.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ Resources:
CodeS3Bucket: !Ref DeploymentPackageBucketName
StaticSiteArchiveS3ObjectKey: !Sub /prx/${EnvironmentTypeAbbreviation}/Spire/Beta/pkg/s3-object-key
EnvironmentType: !Ref EnvironmentType
EnvironmentTypeAbbreviation: !Ref EnvironmentTypeAbbreviation
StaticSiteCloudFrontOai: !Sub /prx/${EnvironmentTypeAbbreviation}/Spire/Beta/cloudfront-oai
FeederHostname: !Ref FeederHostname
ExchangeHostname: !Ref ExchangeHostname
Expand Down
11 changes: 7 additions & 4 deletions spire/templates/apps/beta.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# stacks/apps/beta.yml
AWSTemplateFormatVersion: "2010-09-09"
Transform: AWS::Serverless-2016-10-31

Description: >-
Creates a regional S3 bucket for beta.prx.org to be used as an origin for a
Expand All @@ -13,14 +14,16 @@ Parameters:
CodeS3Bucket: { Type: String }
StaticSiteArchiveS3ObjectKey: { Type: AWS::SSM::Parameter::Value<String> }
EnvironmentType: { Type: String }
EnvironmentTypeAbbreviation: { Type: String }
StaticSiteCloudFrontOai: { Type: AWS::SSM::Parameter::Value<String> }
FeederHostname: { Type String }
ExchangeHostname: { Type String }
PlayHostname: { Type String }
FeederHostname: { Type: String }
ExchangeHostname: { Type: String }
PlayHostname: { Type: String }
RedirectLambdaCodeS3ObjectKey: { Type: AWS::SSM::Parameter::Value<String> }

Conditions:
EnableNestedChangeSetScrubbingResources: !Equals [!Ref NestedChangeSetScrubbingResourcesState, Enabled]
IsProduction: !Equals [!Ref EnvironmentType, Production]

Resources:
NestedChangeSetScrubber: { Type: AWS::SNS::Topic, Condition: EnableNestedChangeSetScrubbingResources }
Expand Down Expand Up @@ -92,7 +95,7 @@ Resources:
prx:ops:environment: !Ref EnvironmentType
prx:dev:application: Beta
Timeout: 8
FtpServerAuthorizerFunctionElevatedErrorAlarm:
RedirectFunctionElevatedErrorAlarm:
Type: AWS::CloudWatch::Alarm
Condition: IsProduction
Properties:
Expand Down

0 comments on commit b319a77

Please sign in to comment.