Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ resource "google_compute_region_security_policy_rule" "policy_rule" {
security_policy = google_compute_region_security_policy.policy.name
region = "us-west2"
description = "Rule with preconfiguredWafConfig - create"
action = "deny"
action = "deny(403)"
priority = "1000"
match {
versioned_expr = "SRC_IPS_V1"
Expand Down Expand Up @@ -583,7 +583,7 @@ resource "google_compute_region_security_policy_rule" "policy_rule" {
security_policy = google_compute_region_security_policy.policy.name
region = "us-west2"
description = "Rule with preconfiguredWafConfig - update"
action = "deny"
action = "deny(403)"
priority = "1000"
match {
versioned_expr = "SRC_IPS_V1"
Expand Down Expand Up @@ -641,7 +641,7 @@ resource "google_compute_region_security_policy_rule" "policy_rule" {
security_policy = google_compute_region_security_policy.policy.name
region = "us-west2"
description = "Rule with preconfiguredWafConfig - clear"
action = "deny"
action = "deny(403)"
priority = "1000"
match {
versioned_expr = "SRC_IPS_V1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ func testAccComputeRegionSecurityPolicy_withRules(context map[string]interface{}
type = "CLOUD_ARMOR"

rules {
action = "deny"
action = "deny(403)"
priority = "1000"
match {
expr {
Expand All @@ -227,7 +227,7 @@ func testAccComputeRegionSecurityPolicy_withRules(context map[string]interface{}


rules {
action = "deny"
action = "deny(403)"
priority = "2147483647"
match {
versioned_expr = "SRC_IPS_V1"
Expand Down Expand Up @@ -308,7 +308,7 @@ func testAccComputeRegionSecurityPolicy_withPreconfiguredWafConfig(context map[s
type = "CLOUD_ARMOR"

rules {
action = "deny"
action = "deny(403)"
priority = "1000"
match {
expr {
Expand Down Expand Up @@ -376,7 +376,7 @@ func testAccComputeRegionSecurityPolicy_withPreconfiguredWafConfig_update(contex
type = "CLOUD_ARMOR"

rules {
action = "deny"
action = "deny(403)"
priority = "1000"
match {
expr {
Expand Down Expand Up @@ -824,7 +824,7 @@ resource "google_compute_region_security_policy" "policy" {
region = "us-central1"

rules {
action = "deny"
action = "deny(403)"
priority = "3000"
match {
expr {
Expand All @@ -834,7 +834,7 @@ resource "google_compute_region_security_policy" "policy" {
}

rules {
action = "deny"
action = "deny(403)"
priority = "2147483647"
match {
versioned_expr = "SRC_IPS_V1"
Expand Down Expand Up @@ -881,7 +881,7 @@ resource "google_compute_region_security_policy" "policy" {
}

rules {
action = "deny"
action = "deny(403)"
priority = "2147483647"
match {
versioned_expr = "SRC_IPS_V1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ resource "google_compute_security_policy" "policy" {
resource "google_compute_security_policy_rule" "policy_rule" {
security_policy = google_compute_security_policy.policy.name
description = "Rule with preconfiguredWafConfig - create"
action = "deny"
action = "deny(403)"
priority = "1000"
match {
expr {
Expand Down Expand Up @@ -743,7 +743,7 @@ resource "google_compute_security_policy" "policy" {
resource "google_compute_security_policy_rule" "policy_rule" {
security_policy = google_compute_security_policy.policy.name
description = "Rule with preconfiguredWafConfig - update"
action = "deny"
action = "deny(403)"
priority = "1000"
match {
expr {
Expand Down Expand Up @@ -797,7 +797,7 @@ resource "google_compute_security_policy" "policy" {
resource "google_compute_security_policy_rule" "policy_rule" {
security_policy = google_compute_security_policy.policy.name
description = "Rule with preconfiguredWafConfig - clear"
action = "deny"
action = "deny(403)"
priority = "1000"
match {
expr {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1230,7 +1230,7 @@ resource "google_compute_security_policy" "policy" {
}

rule {
action = "deny"
action = "deny(403)"
priority = "1000"
match {
expr {
Expand Down Expand Up @@ -1296,7 +1296,7 @@ resource "google_compute_security_policy" "policy" {
}

rule {
action = "deny"
action = "deny(403)"
priority = "1000"
match {
expr {
Expand Down Expand Up @@ -1355,7 +1355,7 @@ resource "google_compute_security_policy" "policy" {
}

rule {
action = "deny"
action = "deny(403)"
priority = "1000"
match {
expr {
Expand Down Expand Up @@ -1389,7 +1389,7 @@ resource "google_compute_security_policy" "policy" {
}

rule {
action = "deny"
action = "deny(403)"
priority = "1000"
match {
expr {
Expand Down
Loading