Skip to content

Instantly share code, notes, and snippets.

@viggin543
Created September 24, 2022 13:16
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 viggin543/40a975109a5f8b98a99789417884a306 to your computer and use it in GitHub Desktop.
Save viggin543/40a975109a5f8b98a99789417884a306 to your computer and use it in GitHub Desktop.
resource "google_compute_security_policy" "waf-security-policy" {
name = "waf-policy"
type = "CLOUD_ARMOR_EDGE"
rule {
action = "allow"
priority = "2147483647"
match {
versioned_expr = "SRC_IPS_V1"
config {
src_ip_ranges = ["*"]
}
}
description = "default rule"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment