-
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
Upgrade Purview from 2020-12-01-preview to stable version 2021-07-01 #13785
Conversation
myc2h6o
commented
Oct 19, 2021
- Update the import path for Azure Purview to use the latest stable version
- Update name of the constants which are changed in the stable version
- Update go mods in the vendor folder
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.
LGTM - thanks for this @myc2h6o
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.
Looks like we have some test failures:
------- Stdout: -------
=== RUN TestAccPurviewAccount_basic
=== PAUSE TestAccPurviewAccount_basic
=== CONT TestAccPurviewAccount_basic
testcase.go:108: Step 1/2 error: After applying this test step, the plan was not empty.
stdout:
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# azurerm_purview_account.test will be updated in-place
~ resource "azurerm_purview_account" "test" {
id = "/subscriptions/*******/resourceGroups/acctestRG-purview-211020215537433833/providers/Microsoft.Purview/accounts/acctestsw211020215537433833"
name = "acctestsw211020215537433833"
~ sku_name = "Standard_1" -> "Standard_4"
# (9 unchanged attributes hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
--- FAIL: TestAccPurviewAccount_basic (445.63s)
FAIL
The tests for Purview are failing due to below change in sdk, which changes the sku property to user-specified to read-only. |
Fix for the acc tests: #13839 |
still failing as of today:
|
@katbyte There is an issue opened by @tombuildsstuff on Azure side Azure/azure-rest-api-specs#15675, discussing the breaking change of the sku property. |
27020f1
to
d236e25
Compare
Have rebased to latest main. Test results after the unit test fix in #13817 with the package upgrade: --- PASS: TestAccPurviewAccount_requiresImport (672.66s) |
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 @myc2h6o - LGTM 👍
This functionality has been released in v2.84.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. |