diff --git a/.gitignore b/.gitignore index 38d59f5a..dfd06c6f 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ examples/**/.terraform/ examples/**/terraform.d/ examples/**/crash.log examples/**/*.tfstate +examples/**/*.tfstate.lock.info examples/**/*.tfstate.backup examples/**/.terraform.lock.hcl examples/**/*.tfvars diff --git a/examples/aks/aks_cluster_azure_cni/aks.tf b/examples/aks/aks_cluster_azure_cni/aks.tf index 06279c9c..2896f836 100644 --- a/examples/aks/aks_cluster_azure_cni/aks.tf +++ b/examples/aks/aks_cluster_azure_cni/aks.tf @@ -16,8 +16,7 @@ resource "azurerm_kubernetes_cluster" "this" { } network_profile { - network_plugin = var.cluster_network_provider - network_plugin_mode = var.cluster_network_provider_mode + network_plugin = var.cluster_network_plugin } identity { diff --git a/examples/aks/aks_cluster_azure_cni/tf.vars.example b/examples/aks/aks_cluster_azure_cni/tf.vars.example index e39babd1..4becba44 100644 --- a/examples/aks/aks_cluster_azure_cni/tf.vars.example +++ b/examples/aks/aks_cluster_azure_cni/tf.vars.example @@ -1,6 +1,3 @@ cluster_name = "" cluster_region = "" castai_api_token = "" - -# Enable for Overlay network provider mode -# cluster_network_provider_mode = "Overlay" diff --git a/examples/aks/aks_cluster_azure_cni/variables.tf b/examples/aks/aks_cluster_azure_cni/variables.tf index e973ce08..6adb482d 100644 --- a/examples/aks/aks_cluster_azure_cni/variables.tf +++ b/examples/aks/aks_cluster_azure_cni/variables.tf @@ -15,18 +15,12 @@ variable "cluster_version" { default = "1.23" } -variable "cluster_network_provider" { +variable "cluster_network_plugin" { type = string - description = "AKS cluster network provider" + description = "AKS cluster network plugin" default = "azure" } -variable "cluster_network_provider_mode" { - type = string - description = "AKS cluster network provider mode" - default = "" -} - # Variables required for connecting EKS cluster to CAST AI variable "castai_api_token" { type = string