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

Question: hub_routing_preference #861

Open
hannesbreit opened this issue Nov 14, 2023 · 8 comments
Open

Question: hub_routing_preference #861

hannesbreit opened this issue Nov 14, 2023 · 8 comments
Labels
enhancement New feature or request

Comments

@hannesbreit
Copy link

hannesbreit commented Nov 14, 2023

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

Versions

terraform: 1.6.2

azure provider: azurerm.connectivity

module: connectivity

Description

Describe the bug

Steps to Reproduce

For virtual WAN deployment, I try to set the hub_routing_preference to "ASpath" for a specific Hub but I don't see this documented anywhere. Also other settings like "virtual_router_auto_scale_min_capacity" are missing.
I tried to put these settings somehow into the "advanced" section and also in the "custom_settings_by_resource_type" but without success.
Can someone help, guide or post a link where I can find this in the documentation (I was not able to find it there).

@matt-FFFFFF matt-FFFFFF added the enhancement New feature or request label Nov 14, 2023
@matt-FFFFFF
Copy link
Member

Hi @hannesbreit

We don't expose these settings at the moment.

We will add these to the backlog for prioritisation.

@hannesbreit
Copy link
Author

Thanks @matt-FFFFFF
Is there a workaround available until then?

@matt-FFFFFF
Copy link
Member

You could use azapi_update_resource from the AZAPI provider.

It can update a resource properties.

@Mousling1992
Copy link

any plan on that. Also facing the same issue and the az api update resource helps but have the different state with the modules so that it always destroy and recreate. Will be great to have the properties directly from caf

@matt-FFFFFF
Copy link
Member

Can you ignore the property in the azurerm resource and only manage through azapi?

@Mousling1992
Copy link

Thanks for the answer. As i know it s not possible to ignore changes on Modules. Is this possible by Caf some how?

@matt-FFFFFF
Copy link
Member

No of course not, my apologies.

@ghost
Copy link

ghost commented May 7, 2024

@matt-FFFFFF sorry to ping you.

There is a PR #930 by a colleague. Can we do something to get this merged? We are making changes outside of terraform at the moment, because we can't run tf without resetting the routing preference. It would be appreciated, that someone could have a look at that PR to fix that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants