-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
[Networking] Updating to 2019-09-01
/ fixing azurerm_virtual_hub
/ VPN Resources
#5004
Conversation
615c30b
to
2f1bee7
Compare
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.
Aside from some minor comments LGTM 👍
Also removing these from the Data Source for the moment, as I believe these fields aren't immediately useful on their own - but we can add them back in should users require them
…ent resource being deleted Since this is a Virtual Resource the parent resource will be gone too
…ration based on the api response
7d53b56
to
188cd61
Compare
bb300ea
to
91d54d8
Compare
Acceptance Tests still pass after PR updates 👍 |
Hi @tombuildsstuff , thanks for this PR. However, I have a question about this. I remember you wanna make the property "virtual_network_connection" as separate resource. But in this PR, I didn't find the separate resource for this property. Seems that this property has been removed from the resource. Maybe I missed something. Can I know the reason why this property should be removed? |
@neil-yechenwei it turns out the API doesn't work so we had to pull it |
This has been released in version 1.38.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 1.38.0"
}
# ... other configuration ... |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
We ultimately ended up pulling the
azurerm_virtual_hub
Data Source & Resource from v1.37 since the resource design didn't match how the API worked. As such this PR reintroduces theazurerm_virtual_hub
resource by introducing the dependencies necessary to use it.Whilst it's unfortunate this PR is so large - due to the fact that this is already merged it makes sense to bundle these together - however traditionally we'd split these apart, in particular the SDK upgrade.
This PR includes:
network
API to2019-09-01
azurerm_virtual_hub
Data Source / Resources:express_route_gateway_id
field from the Data Source & Resourcep2s_vpn_gateway_id
field from the Data Source & Resources2s_vpn_gateway_id
field from the Data Source & Resourceroute
block from the Data Sourcevirtual_network_connection
block from the Data Source & Resourcesecurity_provider_name
field from theazurerm_virtual_wan
resource since this is no longer available in the APIazurerm_point_to_site_vpn_gateway
azurerm_vpn_gateway
azurerm_vpn_server_configuration
Acceptance Test Results:
Data Source:
azurerm_virtual_hub
:Data Source:
azurerm_virtual_wan
:Resource:
azurerm_point_to_site_vpn_gateway
:Resource:
azurerm_virtual_hub
:Resource:
azurerm_virtual_hub_connection
:Resource:
azurerm_vpn_gateway
:Resource:
azurerm_vpn_server_configuration
:Resource:
azurerm_virtual_wan
: