diff --git a/README.md b/README.md index 9a500c2470..e56d7db123 100644 --- a/README.md +++ b/README.md @@ -135,7 +135,7 @@ In either case, upgrading to module version `v1.0.0` will trigger a recreation o | name | The name of the cluster (required) | string | n/a | yes | | network | The VPC network to host the cluster in (required) | string | n/a | yes | | network\_policy | Enable network policy addon | string | `"false"` | no | -| network\_policy\_provider | The network policy provider. | string | `"PROVIDER_UNSPECIFIED"` | no | +| network\_policy\_provider | The network policy provider. | string | `"CALICO"` | no | | network\_project\_id | The project ID of the shared VPC's host (for shared vpc support) | string | `""` | no | | node\_pools | List of maps containing node pools | list | `` | no | | node\_pools\_labels | Map of maps containing node labels by node-pool name | map | `` | no | diff --git a/autogen/variables.tf b/autogen/variables.tf index 67ced3b03b..49af377738 100644 --- a/autogen/variables.tf +++ b/autogen/variables.tf @@ -108,7 +108,7 @@ variable "network_policy" { variable "network_policy_provider" { description = "The network policy provider." - default = "PROVIDER_UNSPECIFIED" + default = "CALICO" } variable "maintenance_start_time" { diff --git a/modules/private-cluster/README.md b/modules/private-cluster/README.md index e7b6cc12a2..e50dc73b3f 100644 --- a/modules/private-cluster/README.md +++ b/modules/private-cluster/README.md @@ -144,7 +144,7 @@ In either case, upgrading to module version `v1.0.0` will trigger a recreation o | name | The name of the cluster (required) | string | n/a | yes | | network | The VPC network to host the cluster in (required) | string | n/a | yes | | network\_policy | Enable network policy addon | string | `"false"` | no | -| network\_policy\_provider | The network policy provider. | string | `"PROVIDER_UNSPECIFIED"` | no | +| network\_policy\_provider | The network policy provider. | string | `"CALICO"` | no | | network\_project\_id | The project ID of the shared VPC's host (for shared vpc support) | string | `""` | no | | node\_pools | List of maps containing node pools | list | `` | no | | node\_pools\_labels | Map of maps containing node labels by node-pool name | map | `` | no | diff --git a/modules/private-cluster/variables.tf b/modules/private-cluster/variables.tf index 841501ed69..005a04228e 100644 --- a/modules/private-cluster/variables.tf +++ b/modules/private-cluster/variables.tf @@ -108,7 +108,7 @@ variable "network_policy" { variable "network_policy_provider" { description = "The network policy provider." - default = "PROVIDER_UNSPECIFIED" + default = "CALICO" } variable "maintenance_start_time" { diff --git a/variables.tf b/variables.tf index 5c22867df7..2723a39df5 100644 --- a/variables.tf +++ b/variables.tf @@ -108,7 +108,7 @@ variable "network_policy" { variable "network_policy_provider" { description = "The network policy provider." - default = "PROVIDER_UNSPECIFIED" + default = "CALICO" } variable "maintenance_start_time" {