Skip to content

Commit 47eca45

Browse files
author
Joshua Leaverton
committed
v2.3.3 - s3 url patch
1 parent b7d8088 commit 47eca45

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1919
- Implemented Athena optimization: added partitioning for CloudFront, ALB and WAF logs and Athena queries
2020
### Changed
2121
- Fixed potential DoS vector within Bad Bots X-Forward-For header
22+
## [2.3.3] - 2020-10-30
23+
### Changed
24+
- Replaced s3 path-style with virtual-hosted style

deployment/aws-waf-security-automations.template

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ Resources:
418418
DependsOn: CheckRequirements
419419
Properties:
420420
TemplateURL: !Sub
421-
- 'https://s3.amazonaws.com/${S3Bucket}/${KeyPrefix}/aws-waf-security-automations-firehose-athena.template'
421+
- 'https://${S3Bucket}.s3.amazonaws.com/${KeyPrefix}/aws-waf-security-automations-firehose-athena.template'
422422
-
423423
S3Bucket: !FindInMap ["SourceCode", "General", "TemplateBucket"]
424424
KeyPrefix: !FindInMap ["SourceCode", "General", "KeyPrefix"]
@@ -442,7 +442,7 @@ Resources:
442442
DependsOn: CheckRequirements
443443
Properties:
444444
TemplateURL: !Sub
445-
- 'https://s3.amazonaws.com/${S3Bucket}/${KeyPrefix}/aws-waf-security-automations-alb.template'
445+
- 'https://${S3Bucket}.s3.amazonaws.com/${KeyPrefix}/aws-waf-security-automations-alb.template'
446446
-
447447
S3Bucket: !FindInMap ["SourceCode", "General", "TemplateBucket"]
448448
KeyPrefix: !FindInMap ["SourceCode", "General", "KeyPrefix"]
@@ -468,7 +468,7 @@ Resources:
468468
DependsOn: CheckRequirements
469469
Properties:
470470
TemplateURL: !Sub
471-
- 'https://s3.amazonaws.com/${S3Bucket}/${KeyPrefix}/aws-waf-security-automations-cloudfront.template'
471+
- 'https://${S3Bucket}.s3.amazonaws.com/${KeyPrefix}/aws-waf-security-automations-cloudfront.template'
472472
-
473473
S3Bucket: !FindInMap ["SourceCode", "General", "TemplateBucket"]
474474
KeyPrefix: !FindInMap ["SourceCode", "General", "KeyPrefix"]
@@ -1088,7 +1088,7 @@ Resources:
10881088
Region: !Ref 'AWS::Region'
10891089
ReputationListsParser: !GetAtt ReputationListsParser.Arn
10901090
WAFReputationListsSet: !If [AlbEndpoint, !GetAtt AlbStack.Outputs.WAFReputationListsSet, !GetAtt CloudFrontStack.Outputs.WAFReputationListsSet]
1091-
1091+
10921092
CustomAddAthenaPartitions:
10931093
Type: 'Custom::AddAthenaPartitions'
10941094
Condition: AthenaLogParser

0 commit comments

Comments
 (0)