You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.
Terraform Version
1.8.3
AzureRM Provider Version
3.65.0
Affected Resource(s)/Data Source(s)
azurerm_virtual_network_gateway
Terraform Configuration Files
resource"azurerm_virtual_network_gateway""vnet_gateway" {
# Mandatory parameters
name ="test-gw"
location ="westeurope"
resource_group_name ="test-rg"
type ="Vpn"
vpn_type ="RouteBased"
sku ="VpnGw2AZ"
bgp_route_translation_for_nat_enabled ="true"ip_configuration {
name ="test-ipconfig-name"
public_ip_address_id ="***/ipConfigurations/default"
private_ip_address_allocation ="Dynamic"
subnet_id ="***/GatewaySubnet"
}
}
Debug Output/Panic Output
N/A
Expected Behaviour
Code accepts the argument
Actual Behaviour
Getting error:
│ Error: Unsupported argument
│
│ on ..\infra\modules\vpngateway\gw.tf line 9, in resource "azurerm_virtual_network_gateway" "vnet_gateway":
│ 9: bgp_route_translation_for_nat_enabled = "true"
│
│ An argument named "bgp_route_translation_for_nat_enabled" is not expected here.
Steps to Reproduce
No response
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered:
zjaniga
changed the title
bgp_route_translation_for_nat_enabled parameter
Argument bgp_route_translation_for_nat_enabled not expected in code
May 14, 2024
Is there an existing issue for this?
Community Note
Terraform Version
1.8.3
AzureRM Provider Version
3.65.0
Affected Resource(s)/Data Source(s)
azurerm_virtual_network_gateway
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Code accepts the argument
Actual Behaviour
Getting error:
│ Error: Unsupported argument
│
│ on ..\infra\modules\vpngateway\gw.tf line 9, in resource "azurerm_virtual_network_gateway" "vnet_gateway":
│ 9: bgp_route_translation_for_nat_enabled = "true"
│
│ An argument named "bgp_route_translation_for_nat_enabled" is not expected here.
Steps to Reproduce
No response
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: