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

r\purview_account_resource: Deprecate sku_name property #13897

Merged
merged 2 commits into from
Nov 2, 2021

Conversation

myc2h6o
Copy link
Contributor

@myc2h6o myc2h6o commented Oct 26, 2021

  • The sku property of Purview Account can only be updated through a support ticket now, and has been removed from the request body when creating the resource. Since it's no longer managed by api, and the value can only be changed outside terraform, i'm considering removing it. In order to avoid breaking change, I'm updating it from Required to Optional + Deprecated.

  • Doc and issue:
    https://docs.microsoft.com/en-us/azure/purview/concept-elastic-data-map#request-capacity
    [API Regression] [Purview] Accounts Sku Capacity is always reset to 1 Azure/azure-rest-api-specs#15675

  • Test result:
    $ make acctests SERVICE='purview' TESTARGS='-run=Test' TESTTIMEOUT='60m'
    ==> Checking that code complies with gofmt requirements...
    ==> Checking that Custom Timeouts are used...
    ==> Checking that acceptance test packages are used...
    TF_ACC=1 go test -v ./internal/services/purview -run=Test -timeout 60m -ldflags="-X=github.com/hashicorp/terraform-provider-azurerm/version.ProviderVersion=acc"
    === RUN TestAccPurviewAccount_basic
    === PAUSE TestAccPurviewAccount_basic
    === RUN TestAccPurviewAccount_requiresImport
    === PAUSE TestAccPurviewAccount_requiresImport
    === CONT TestAccPurviewAccount_basic
    === CONT TestAccPurviewAccount_requiresImport
    --- PASS: TestAccPurviewAccount_basic (657.38s)
    --- PASS: TestAccPurviewAccount_requiresImport (683.11s)
    PASS
    ok github.com/hashicorp/terraform-provider-azurerm/internal/services/purview 683.774s

@katbyte katbyte added this to the v2.84.0 milestone Nov 2, 2021
Copy link
Collaborator

@katbyte katbyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @myc2h6o - LGTM 👍

@katbyte katbyte merged commit c6e7a73 into hashicorp:main Nov 2, 2021
katbyte added a commit that referenced this pull request Nov 2, 2021
@myc2h6o myc2h6o deleted the purview_sku_deprecate branch November 2, 2021 04:11
@github-actions
Copy link

github-actions bot commented Nov 5, 2021

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!

@github-actions
Copy link

github-actions bot commented Dec 6, 2021

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.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants