Skip to content

Commit d398a7f

Browse files
committed
feat: Adapt code to be compatible with 3.x.x version of azurerm provider
1 parent 2387f67 commit d398a7f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ resource "azurerm_kubernetes_cluster" "k8s" {
5555
network_profile {
5656
network_plugin = "azure"
5757
network_policy = var.network_policy
58-
load_balancer_sku = length(var.node_pools) > 0 ? "Standard" : var.load_balancer_sku
58+
load_balancer_sku = length(var.node_pools) > 0 ? "standard" : var.load_balancer_sku
5959
dynamic "load_balancer_profile" {
6060
for_each = azurerm_public_ip.public-ip-outbound
6161
content {

vars.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ variable "node_pools" {
107107

108108
variable "load_balancer_sku" {
109109
description = "The SKU for the used Load Balancer"
110-
default = "Basic"
110+
default = "basic"
111111
}
112112

113113
variable "max_pods" {

0 commit comments

Comments
 (0)