Open Cyr-Az opened 1 week ago
Azure stack provider v1.0.0
azurestack_lb
resource "azurestack_lb" "example" { name = "example-load-balancer" location = azurestack_resource_group.test.location resource_group_name = azurestack_resource_group.test.name sku = "Standard" frontend_ip_configuration { name = "example-frontend-ip" public_ip_address_id = azurestack_public_ip.example.id } }
N/A
A loadbalancer with SKU "Standard" should have been created, since it should be supported by the provider according to the documentation ( https://registry.terraform.io/providers/hashicorp/azurestack/latest/docs/resources/loadbalancer#sku )
Error: expected sku to be one of [Basic], got Standard β β with azurestack_lb.example, β on main.tf line 20, in resource "azurestack_lb" "example": β 20: sku = "Standard"
The provider code does actually not support Standard lb : https://github.com/hashicorp/terraform-provider-azurestack/blob/main/internal/services/loadbalancer/loadbalancer_resource.go
https://registry.terraform.io/providers/hashicorp/azurestack/latest/docs/resources/loadbalancer#sku
+1
Community Note
Terraform (and AzureStack Provider) Version
Azure stack provider v1.0.0
Affected Resource(s)
azurestack_lb
Terraform Configuration Files
Debug Output
N/A
Panic Output
N/A
Expected Behaviour
A loadbalancer with SKU "Standard" should have been created, since it should be supported by the provider according to the documentation ( https://registry.terraform.io/providers/hashicorp/azurestack/latest/docs/resources/loadbalancer#sku )
Actual Behaviour
The provider code does actually not support Standard lb : https://github.com/hashicorp/terraform-provider-azurestack/blob/main/internal/services/loadbalancer/loadbalancer_resource.go
Steps to Reproduce
N/A
Important Factoids
N/A
References
https://registry.terraform.io/providers/hashicorp/azurestack/latest/docs/resources/loadbalancer#sku