-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
azurerm_virtual_hub_routing_intent does not seem to support a list of destinations in the routing_policy #23999
Comments
If instead I write my terraform configuration like this:
then I get the expected result. However, I expect my initial configuration to work as expected too, there is nothing in the azurerm documentation telling me otherwise. |
Thanks for raising this issue. I assume it's by service API design not a TF bug. |
Maybe, but then, you should not accept an array of values for the |
Hi @zadigus and @neil-yechenwei. I got misled by the list of destination and my deployment was ended-up in failure. I managed to create 2 policies as you mentioned. One for Internet and 1 for PrivateNetwork and now routing intent is properly configured. I would qualify it as a bug as it should not accept a list. with module.alz_connectivity.azurerm_virtual_hub_routing_intent.virtual_wan["/subscriptions/000000/resourceGroups/rg-prod-network-vwan/providers/Microsoft.Network/virtualHubs/hub-southeastasia/lz-cl-routingintent-southeastasia"],
│ on .terraform/modules/alz_connectivity/resources.virtual_wan.tf line 364, in resource "azurerm_virtual_hub_routing_intent" "virtual_wan":
│ 364: resource "azurerm_virtual_hub_routing_intent" "virtual_wan" {
│
│ creating Routing Intent (Subscription: "000000"
│ Resource Group Name: "rg-prod-network-vwan"
│ Virtual Hub Name: "hub-southeastasia"
│ Routing Intent Name: "routingintent-southeastasia"): polling after RoutingIntentCreateOrUpdate: polling failed: the Azure
│ API returned the following error:
│
│ Status: "InternalServerError"
│ Code: ""
│ Message: "An error occurred."
│ Activity Id: ""
│
│ ---
│
│ API Response:
│
│ ----[start]----
│ {"status":"Failed","error":{"code":"InternalServerError","message":"An error occurred.","details":[]}}
│ -----[end]----- |
Is there an existing issue for this?
Community Note
Terraform Version
1.4.1
AzureRM Provider Version
3.81.0
Affected Resource(s)/Data Source(s)
azurerm_virtual_hub_routing_intent
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
In the Azure Portal, I expect to see:
Actual Behaviour
Unfortunately, on the Azure Portal, I see
Steps to Reproduce
No response
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: