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

How to change the default virtual hub attribute #1007

Closed
praveenambati1233 opened this issue Jun 21, 2024 · 3 comments
Closed

How to change the default virtual hub attribute #1007

praveenambati1233 opened this issue Jun 21, 2024 · 3 comments

Comments

@praveenambati1233
Copy link

praveenambati1233 commented Jun 21, 2024

I am trying to change the default value for hub_routing_preference, by default it is ExpressRoute - https://registry.terraform.io/providers/hashicorp/Azurerm/3.92.0/docs/resources/virtual_hub#hub_routing_preference

Tf Plan

+ resource "azurerm_virtual_hub" "virtual_wan" {
      + address_prefix                         = "*****"
      + default_route_table_id                 = (known after apply)
      + hub_routing_preference                 = "ExpressRoute"
      + id                                     = (known after apply)
      + location                               = "eastus2"
      + name                                   = "******"
      + resource_group_name                    = "*****"
      + sku                                    = "Standard"
      + tags                                   = {
          + "demo_type"  = "poc"
          + "deployedBy" = "****"
        }
      + virtual_router_asn                     = (known after apply)
      + virtual_router_auto_scale_min_capacity = 2
      + virtual_router_ips                     = (known after apply)
      + virtual_wan_id                         = "***********"
    }

There is no code to change in the advance settings.

@praveenambati1233
Copy link
Author

@matt-FFFFFF can you please assist with this question?

@matt-FFFFFF
Copy link
Member

This is now available in the v6 release

@praveenambati1233
Copy link
Author

@matt-FFFFFF It's working perfect! Thank You.

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