I am trying to create a Load Balancer with FrontEndIPConfiguration resource in the West Central US region, which currently does not offer Availability Zone feature and no matter what "zone" value I specify (Null, "No-Zone", [], omitting the zone property...) on the frontend_ip_configurations code block, the TF apply fails with the below error.
│ Error: creating/updating Load Balancer: (Name "lb-ilb-wcus-001" / Resource Group "rg-network"): network.LoadBalancersClient#CreateOrUpdate:
Failure sending request: StatusCode=400 -- Original Error: Code="SubscriptionDoesNotSupportZone" Message="Cannot create/move resource
/subscriptions//resourceGroups/rg-network/providers/Microsoft.Network/loadBalancers/lb-ilb-wcus-001/frontendIPConfigurations/frontend-ilb-config1-wcus
which uses zone 1 since subscription does not support zone 1 in location westcentralus." Details=[]
│
│ with module.caf.module.load_balancers["lb1_region1"].azurerm_lb.lb,
│ on .terraform\modules\caf\modules\networking\load_balancers\load_balancers.tf line 11, in resource "azurerm_lb" "lb":
│ 11: resource "azurerm_lb" "lb" {
I am using the latest version of the aztzmod/caf/azurerm module v5.6.4.
I am trying to create a Load Balancer with FrontEndIPConfiguration resource in the West Central US region, which currently does not offer Availability Zone feature and no matter what "zone" value I specify (Null, "No-Zone", [], omitting the zone property...) on the frontend_ip_configurations code block, the TF apply fails with the below error.
│ Error: creating/updating Load Balancer: (Name "lb-ilb-wcus-001" / Resource Group "rg-network"): network.LoadBalancersClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="SubscriptionDoesNotSupportZone" Message="Cannot create/move resource /subscriptions//resourceGroups/rg-network/providers/Microsoft.Network/loadBalancers/lb-ilb-wcus-001/frontendIPConfigurations/frontend-ilb-config1-wcus
which uses zone 1 since subscription does not support zone 1 in location westcentralus." Details=[]
│
│ with module.caf.module.load_balancers["lb1_region1"].azurerm_lb.lb,
│ on .terraform\modules\caf\modules\networking\load_balancers\load_balancers.tf line 11, in resource "azurerm_lb" "lb":
│ 11: resource "azurerm_lb" "lb" {
I am using the latest version of the aztzmod/caf/azurerm module v5.6.4.
Terraform Configuration: