Skip to content

Commit 7301acc

Browse files
committed
Add dormant WAF for shared ALB
1 parent 7e9e429 commit 7301acc

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

spire/templates/shared-alb.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,25 @@ Resources:
435435
SetIdentifier: !Ref AWS::StackName
436436
Type: A
437437

438+
Waf:
439+
Type: AWS::WAFv2::WebACL
440+
Properties:
441+
DefaultAction:
442+
Allow:
443+
Scope: REGIONAL
444+
Tags:
445+
- { Key: prx:meta:tagging-version, Value: "2021-04-07" }
446+
- { Key: prx:cloudformation:stack-name, Value: !Ref AWS::StackName }
447+
- { Key: prx:cloudformation:stack-id, Value: !Ref AWS::StackId }
448+
- { Key: prx:cloudformation:root-stack-name, Value: !Ref RootStackName }
449+
- { Key: prx:cloudformation:root-stack-id, Value: !Ref RootStackId }
450+
- { Key: prx:ops:environment, Value: !Ref EnvironmentType }
451+
- { Key: prx:dev:application, Value: Common }
452+
VisibilityConfig:
453+
CloudWatchMetricsEnabled: false
454+
MetricName: !Sub ${Alb.LoadBalancerName}-WAF
455+
SampledRequestsEnabled: false
456+
438457
Outputs:
439458
AlbArn:
440459
Description: The Amazon Resource Name (ARN) of the load balancer

0 commit comments

Comments
 (0)