Skip to content

Commit

Permalink
Define a value for sku in azurerm_public_ip
Browse files Browse the repository at this point in the history
issue #331
  • Loading branch information
cmd-ntrf committed Nov 12, 2024
1 parent 90a0524 commit da844fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions azure/network.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ resource "azurerm_public_ip" "public_ip" {
name = format("%s-%s-public-ipv4", var.cluster_name, each.key)
location = var.location
resource_group_name = local.resource_group_name
sku = contains(each.value.tags, "public") ? "Basic" : "Standard"
allocation_method = contains(each.value.tags, "public") ? "Static" : "Dynamic"
}

Expand Down

0 comments on commit da844fb

Please sign in to comment.