Fixes gateway_security_policy in net-swp

This commit is contained in:
Simone Ruffilli
2024-08-22 10:25:09 +02:00
parent 17667ce205
commit 9eafd201dd

View File

@@ -97,7 +97,7 @@ resource "google_network_security_gateway_security_policy_rule" "custom_rules" {
name = each.key
location = var.region
description = coalesce(each.value.description, var.description)
gateway_security_policy = google_network_security_gateway_security_policy.default.id
gateway_security_policy = google_network_security_gateway_security_policy.default.name
enabled = each.value.enabled
priority = each.value.priority
session_matcher = each.value.session_matcher