mirror of
https://github.com/Sea-Haven-Industries/meal-order-manager.git
synced 2026-10-02 11:53:12 +00:00
Associate shared WAF WebACL with orders distribution (audit M-17) (#19)
Some checks failed
Deploy / deploy (push) Has been cancelled
Some checks failed
Deploy / deploy (push) Has been cancelled
Re-adds WebACLId (from SSM /seahaven/waf/app-web-acl-arn) now that the github-cfn-execution-role has wafv2 perms. Deployed + verified: orders.seahaven.com distribution now fronted by seahaven-app-waf.
This commit is contained in:
parent
e0b12cb93e
commit
9c1717a77c
1 changed files with 7 additions and 3 deletions
|
|
@ -21,6 +21,12 @@ Parameters:
|
|||
Type: String
|
||||
Default: adam@seahavenind.com
|
||||
Description: SES verified sender email for payroll reports
|
||||
# Shared CloudFront WAF WebACL ARN (audit M-17), published to SSM by
|
||||
# seahaven-account-baseline. Resolved at deploy time.
|
||||
WebAclArn:
|
||||
Type: AWS::SSM::Parameter::Value<String>
|
||||
Default: /seahaven/waf/app-web-acl-arn
|
||||
Description: ARN of the shared seahaven-app-waf CloudFront WebACL
|
||||
Conditions:
|
||||
HasCustomDomain: !Not [!Equals [!Ref CertificateArn, '']]
|
||||
|
||||
|
|
@ -164,9 +170,7 @@ Resources:
|
|||
Comment: meal-order-manager form hosting
|
||||
PriceClass: PriceClass_100
|
||||
HttpVersion: http2and3
|
||||
# WebACLId (M-17) deferred: the github-cfn-execution-role lacks wafv2
|
||||
# permissions, so the WAF association fails ("Unable to verify read
|
||||
# permissions on Web ACL"). Re-add once the deploy role is granted wafv2.
|
||||
WebACLId: !Ref WebAclArn # shared CloudFront WAF (audit M-17)
|
||||
Aliases: !If
|
||||
- HasCustomDomain
|
||||
- [!Ref CustomDomain]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue