Skip to content

Commit

Permalink
Merge pull request #332 from ComputeCanada/azure_sku
Browse files Browse the repository at this point in the history
Define a value for sku in azurerm_public_ip
  • Loading branch information
cmd-ntrf authored Nov 12, 2024
2 parents 90a0524 + da844fb commit ba439f0
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 ba439f0

Please sign in to comment.