-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
azurerm_virtual_hub - support for virtual_router_asn and virtual_router_ips properties #15741
Conversation
successful deployment and output of newly added computed params
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @jakubpech - overall looks good, but could we add these properties to a test ?
@katbyte new properties added to tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR @jakubpech. I left some suggestions and we also have some test failures.
------- Stdout: -------
=== RUN TestAccVirtualHub_basic
=== PAUSE TestAccVirtualHub_basic
=== CONT TestAccVirtualHub_basic
testcase.go:110: Step 1/2 error: Check failed: Check 3/3 error: azurerm_virtual_hub.test: Attribute 'virtual_router_ips' expected to be set
--- FAIL: TestAccVirtualHub_basic (1682.11s)
FAIL
------- Stdout: -------
=== RUN TestAccDataSourceAzureRMVirtualHub_basic
=== PAUSE TestAccDataSourceAzureRMVirtualHub_basic
=== CONT TestAccDataSourceAzureRMVirtualHub_basic
testcase.go:110: Step 1/1 error: Check failed: Check 4/4 error: data.azurerm_virtual_hub.test: Attribute 'virtual_router_ips' expected to be set
--- FAIL: TestAccDataSourceAzureRMVirtualHub_basic (1849.56s)
FAIL
Co-authored-by: stephybun <steph@hashicorp.com>
All requested changes are processed and fmt is fixed. I'm still a bit struggling with running the azurerm acceptance tests from my work windows laptop. I guess some permission issues :( But it builds ok, runs as expected and all checks have passed on GitHub. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @jakubpech - LGTM 🦀
This functionality has been released in v3.0.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
This PR enables deployments of managed NVA appliances (like VMware SD-WAN, Meraki VMX) to Azure Virtual WAN hub.
PR adds two new computed parameters to virtual_hub resource/datasource, which are required for the network integration:
"virtual_router_asn"
"virtual_router_ips"
PR addresses GH issue #13427, where the managed NVA application's read function returns an empty parameter 'tags' of the type map[string]interface{} which is not supported in the current code. To make this clear, these are not resource-level tags, but tags inside of the "parameters" parameter.
I do not see an easy way how to add support of nested tags to the "parameters" schema without making breaking changes so I've at least hot-fixed the problem when the 'tags' are returned but are empty. If the tags will not be empty, the error will be returned as before.
Tested NVA appliances do not use the tags.