Closed ferserrano-contino closed 1 year ago
Thanks for raising this issue. Seems the tf config you provided is incorrect. Please try below tf config. Thanks.
resource "azurerm_vpn_gateway" "test" {
......
bgp_settings {
asn = 65515
peer_weight = 0
}
}
Good spot. Apologies for my mistake and thanks replying it.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Is there an existing issue for this?
Community Note
Terraform Version
1.4.6
AzureRM Provider Version
3.55.0
Affected Resource(s)/Data Source(s)
azurerm_vpn_gateway
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Complete terraform plan successfully
Actual Behaviour
terraform plan failed with the "Unsupported argument" error
Steps to Reproduce
Just a simple terraform plan to validate the creation of the resources listed on configuration files section
Important Factoids
No
References
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/vpn_gateway#bgp_settings