Skip to content

Instantly share code, notes, and snippets.

@kevinhooke
Created December 2, 2020 08:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevinhooke/6c86696442375bc884c7c03ae236ec35 to your computer and use it in GitHub Desktop.
Save kevinhooke/6c86696442375bc884c7c03ae236ec35 to your computer and use it in GitHub Desktop.
AWS CloudFormation WAFv2 config
#WAFv2 IPSet rules must be created in us-east-1 with scope=CLOUDFRONT (not REGIONAL) to apply to a CloudFront distribution
"yourIpList": {
"Type": "AWS::WAFv2::IPSet",
"Properties": {
"Scope": "CLOUDFRONT",
"IPAddressVersion": "IPV4",
"Addresses": ["your","list","of","ips"]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment