We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.4.4
3.51.0
azurerm_route_table azure_route
# STEP1: create route_table & create route resource "azurerm_route_table" "example" { name = "acceptanceTestRouteTable1" location = azurerm_resource_group.example.location resource_group_name = azurerm_resource_group.example.name disable_bgp_route_propagation = false } resource "azurerm_route" "example" { name = "acceptanceTestRoute1" resource_group_name = azurerm_resource_group.example.name route_table_name = azurerm_route_table.example.name address_prefix = "10.1.0.0/16" next_hop_type = "VnetLocal" } # STEP2: update route_table & remove route resource "azurerm_route_table" "example" { name = "acceptanceTestRouteTable1" location = azurerm_resource_group.example.location resource_group_name = azurerm_resource_group.example.name disable_bgp_route_propagation = true # change } #remove#resource "azurerm_route" "example" { #remove# name = "acceptanceTestRoute1" #remove# resource_group_name = azurerm_resource_group.example.name #remove# route_table_name = azurerm_route_table.example.name #remove# address_prefix = "10.1.0.0/16" #remove# next_hop_type = "VnetLocal" #remove#}
n/a
The route_table and route are created by applying STEP1. The route(acceptanceTestRoute1) is deleted from route_table by applying STEP2.
Application of STEP1 is successful The application of STEP2 does not delete route(acceptanceTestRoute1) from route_table.
terraform apply
No response
The text was updated successfully, but these errors were encountered:
Good
Sorry, something went wrong.
azurerm_route_table
azurerm_subnet
azurerm_virtual_network
Hi @mishikawan , thanks for reporting this! I have submitted PR #21352 to fix this.
Successfully merging a pull request may close this issue.
Is there an existing issue for this?
Community Note
Terraform Version
1.4.4
AzureRM Provider Version
3.51.0
Affected Resource(s)/Data Source(s)
azurerm_route_table azure_route
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
The route_table and route are created by applying STEP1.
The route(acceptanceTestRoute1) is deleted from route_table by applying STEP2.
Actual Behaviour
Application of STEP1 is successful
The application of STEP2 does not delete route(acceptanceTestRoute1) from route_table.
Steps to Reproduce
terraform apply
terraform apply
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: