Skip to content

Commit ba439f0

Browse files
authored
Merge pull request #332 from ComputeCanada/azure_sku
Define a value for sku in azurerm_public_ip
2 parents 90a0524 + da844fb commit ba439f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

azure/network.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ resource "azurerm_public_ip" "public_ip" {
2020
name = format("%s-%s-public-ipv4", var.cluster_name, each.key)
2121
location = var.location
2222
resource_group_name = local.resource_group_name
23+
sku = contains(each.value.tags, "public") ? "Basic" : "Standard"
2324
allocation_method = contains(each.value.tags, "public") ? "Static" : "Dynamic"
2425
}
2526

0 commit comments

Comments
 (0)