Skip to content
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

Argument bgp_route_translation_for_nat_enabled not expected in code #25963

Open
1 task done
zjaniga opened this issue May 14, 2024 · 0 comments
Open
1 task done

Argument bgp_route_translation_for_nat_enabled not expected in code #25963

zjaniga opened this issue May 14, 2024 · 0 comments

Comments

@zjaniga
Copy link

zjaniga commented May 14, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • 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

@zjaniga 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants