Skip to content

Commit

Permalink
Merge branch 'aws-samples:master' into refactor-products-service-from…
Browse files Browse the repository at this point in the history
…-go-to-python
  • Loading branch information
Adibuer-lab authored Nov 8, 2023
2 parents b2f9e6b + 935a2b4 commit caa78e2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions aws/cloudformation-templates/base/cloudfront.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Resources:
Type: AWS::CloudFront::OriginAccessControl
Properties:
OriginAccessControlConfig:
Name: !Ref AWS::StackName
Name: !Sub 'retaildemostore-${AWS::Region}'
OriginAccessControlOriginType: s3
SigningBehavior: always
SigningProtocol: sigv4
Expand All @@ -76,7 +76,7 @@ Resources:
DefaultTTL: 86400
MaxTTL: 31536000
MinTTL: 86400
Name: !Ref AWS::StackName
Name: !Sub 'retaildemostore-${AWS::Region}'
ParametersInCacheKeyAndForwardedToOrigin:
CookiesConfig:
CookieBehavior: none
Expand All @@ -94,7 +94,7 @@ Resources:
CookieBehavior: none
HeadersConfig:
HeaderBehavior: none
Name: !Ref AWS::StackName
Name: !Sub 'retaildemostore-${AWS::Region}'
QueryStringsConfig:
QueryStringBehavior: all

Expand Down
8 changes: 4 additions & 4 deletions aws/cloudformation-templates/base/event-driven.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Resources:
EventBus:
Type: AWS::Events::EventBus
Properties:
Name: !Sub "${Uid}-eventbus"
Name: !Sub "${Uid}-bus"

CatchAllRule:
Type: AWS::Events::Rule
Expand All @@ -32,7 +32,7 @@ Resources:
CatchAllEventsLogGroup:
Type: AWS::Logs::LogGroup
Properties:
LogGroupName: !Sub "${Uid}-events-log"
LogGroupName: !Sub "${Uid}-log"
RetentionInDays: 120
UpdateReplacePolicy: Delete
DeletionPolicy: Delete
Expand Down Expand Up @@ -65,7 +65,7 @@ Resources:
EventArchive:
Type: AWS::Events::Archive
Properties:
ArchiveName: !Sub "${Uid}-event-archive"
ArchiveName: !Sub "${Uid}-arch"
RetentionDays: 120
SourceArn: !GetAtt EventBus.Arn
Description: "Holds a 120 day archive of events from the Retail Demo store event bus"
Expand All @@ -89,7 +89,7 @@ Outputs:
Description: "The name of the EventBridge event bus"
Value: !Ref EventBus
Export:
Name: !Sub "${Uid}-eventbus"
Name: !Sub "${Uid}-bus"
SSMParameterForEventBus:
Description: "SSM Parameter storing the EventBridge event bus name for services to use"
Value: !Ref SSMParamForEventBus
Expand Down

0 comments on commit caa78e2

Please sign in to comment.