The virtual hub connection should be succcessfully provisioned.
Actual Behaviour
The following errors occur:
Error: ID was missing the virtualHubs element
with azurerm_virtual_hub_connection.this,
on main.tf line 50, in resource "azurerm_virtual_hub_connection" "this":
50: associated_route_table_id = azurerm_route_table.this.id
Error: ID was missing the virtualHubs element
with azurerm_virtual_hub_connection.this,
on main.tf line 52, in resource "azurerm_virtual_hub_connection" "this":
52: route_table_ids = [azurerm_route_table.this.id]
Thanks for opening this issue. Have you been able to try this on any of the more recent 3.x versions or on the new 4.x versions to see if this issue still persists?
Is there an existing issue for this?
Community Note
Terraform Version
1.0.5
AzureRM Provider Version
3.9.0
Affected Resource(s)/Data Source(s)
azurerm_virtual_hub_connection
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
The virtual hub connection should be succcessfully provisioned.
Actual Behaviour
The following errors occur:
Steps to Reproduce
terraform apply
Important Factoids
No response
References
No response