hashicorp / terraform-provider-azurerm

Terraform provider for Azure Resource Manager
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs
Mozilla Public License 2.0
4.51k stars 4.6k forks source link

Support for Propagate Default Route in azurerm_virtual_hub_connection #12742

Open shin-akuma opened 3 years ago

shin-akuma commented 3 years ago

Community Note

Description

There should be an option to enable or disable Propagate Default Route when creating a vnet connection in virtual hub

New or Affected Resource(s)

Potential Terraform Configuration

propagate_default_route - (Optional) Allows Virtual Hub to propagate a learnt default route to this connection. E.g. 0.0.0.0/0 with next hop to firewall. Defaults to false.

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.

References

aidapsibr commented 2 years ago

Is this the internet_security_enabled option? I noticed my plan changed to true when I manually enabled and can't find that setting in the portal. I'm assuming they are one and the same.

jackperrypresidio commented 1 year ago

I don't believe this issue has been fixed yet. Hopefully someone from Hashicorp will see this, and this gets resolved soon.

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

Description

There should be an option to enable or disable Propagate Default Route when creating a vnet connection in virtual hub

New or Affected Resource(s)

  • azurerm_virtual_hub_connection

Potential Terraform Configuration

propagate_default_route - (Optional) Allows Virtual Hub to propagate a learnt default route to this connection. E.g. 0.0.0.0/0 with next hop to firewall. Defaults to false.

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.

References

  • 0000

This issue has not been resolved yet. Hopefully, someone from Hashicorp sees this, and they resolve this soon!

bizrad commented 1 year ago

Setting internet_security_enabled = true in the azurerm_virtual_hub_connection caused "Propagate Default Route" to show enabled in the UI for me. This is seen under Virtual WAN > Virtual network connections > Edit virtual network connection. I'm also using the vWAN hub premium firewall, not sure if that's related.