File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ module "mylb" {
101101 frontend_private_ip_address_allocation = "Static"
102102 frontend_private_ip_address = "10.0.1.6"
103103 lb_sku = "Standard"
104+ pip_sku = "Standard" #`pip_sku` must match `lb_sku`
104105
105106 remote_port = {
106107 ssh = ["Tcp", "22"]
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ resource "azurerm_public_ip" "azlb" {
99 resource_group_name = data. azurerm_resource_group . azlb . name
1010 location = coalesce (var. location , data. azurerm_resource_group . azlb . location )
1111 allocation_method = var. allocation_method
12+ sku = var. pip_sku
1213 tags = var. tags
1314}
1415
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ module "mylb" {
1919 frontend_private_ip_address_allocation = " Static"
2020 frontend_private_ip_address = " 10.0.1.6"
2121 lb_sku = " Standard"
22+ pip_sku = " Standard"
2223
2324 remote_port = {
2425 ssh = [" Tcp" , " 22" ]
Original file line number Diff line number Diff line change @@ -94,3 +94,9 @@ variable "lb_probe" {
9494 type = map (any )
9595 default = {}
9696}
97+
98+ variable "pip_sku" {
99+ description = " (Optional) The SKU of the Azure Public IP. Accepted values are Basic and Standard."
100+ type = string
101+ default = " Basic"
102+ }
You can’t perform that action at this time.
0 commit comments