-
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
Update segment parsing resource id for network connection monitor V1 #7349
Update segment parsing resource id for network connection monitor V1 #7349
Conversation
Just for justification. Because the segment of resource id of the 2018-08-01 version terraform initially used is also updated to "connectionMonitors". So I think this issue would also happen on older version. After tested with old version, this issue also happened. So I assume we don't need to be aware of compatible problem for this case. Based on above conclusion, I assume all users are blocked on all released azurerm provider versions now. |
@tombuildsstuff, although it's a breaking change, but I assume all users are blocked now by this issue on all released azurerm provider versions. Could we merge it to unblock users first? |
@tombuildsstuff , I assume here the "breaking-change" tag also could be removed since I also updated this PR to use MigrateState. And I also tested the scenario you mentioned in PR 8167. After tested, I found there is no difference using this branch as expect when provisioning a resource using older version. |
Manual test for this PR:
|
We don't need to support connection monitor v1 anymore since service team deprecated it. |
This has been released in version 2.35.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 = "~> 2.35.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 👉 [email protected]. Thanks! |
This PR is to fix below two issues:
source
anddestination
and these properties in this resource are required property. So provisioning this resource is always failed now and this resource is already blocked to all users. After confirmed with service team, they saidsource
anddestination
are only supported by 2019-06-01. And if we continue to use 2020-05-01, we have to deprecate "source" and "destination" and introduce some new required properties but it would cause breaking-change. So we have to rollback to api version 2019-06-01 first.Note: Please merge this PR first for connection monitor v1, and release a new azurerm provider version, then merge PR 8640 for connection monitor v2.