We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3ca137 commit c86b2a1Copy full SHA for c86b2a1
1 file changed
main.tf
@@ -623,10 +623,6 @@ resource "azurerm_kubernetes_cluster" "main" {
623
condition = var.network_policy != "azure" || var.network_plugin == "azure"
624
error_message = "network_policy must be `azure` when network_plugin is `azure`"
625
}
626
- precondition {
627
- condition = var.network_plugin_mode == "overlay" || var.net_profile_pod_cidr == "" || var.network_plugin != "azure"
628
- error_message = "`pod_cidr` and `azure` cannot be set together unless specifying `network_plugin_mode` to `overlay`"
629
- }
630
precondition {
631
condition = var.ebpf_data_plane != "cilium" || var.network_plugin == "azure"
632
error_message = "When ebpf_data_plane is set to cilium, the network_plugin field can only be set to azure."
0 commit comments