diff --git a/google/resource_container_cluster_test.go b/google/resource_container_cluster_test.go index 24b8660064c..f6e8dbc0fc6 100644 --- a/google/resource_container_cluster_test.go +++ b/google/resource_container_cluster_test.go @@ -1121,6 +1121,11 @@ resource "google_container_cluster" "with_network_policy_enabled" { enabled = true provider = "CALICO" } + addons_config { + network_policy_config { + disabled = false + } + } }`, clusterName) } @@ -1130,6 +1135,11 @@ resource "google_container_cluster" "with_network_policy_enabled" { name = "%s" zone = "us-central1-a" initial_node_count = 1 + addons_config { + network_policy_config { + disabled = true + } + } }`, clusterName) } @@ -1141,6 +1151,11 @@ resource "google_container_cluster" "with_network_policy_enabled" { initial_node_count = 1 network_policy = {} + addons_config { + network_policy_config { + disabled = true + } + } }`, clusterName) }