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

add soft_delete_retention_days support for azurerm_key_vault #7822

Merged
merged 4 commits into from Aug 27, 2020

Conversation

njuCZ
Copy link
Contributor

@njuCZ njuCZ commented Jul 21, 2020

fix #6665
fix #7178

this is a new field in api-version: 2019-09-01
once soft_delete_retention_days is set, it could not be updated

if soft_delete_enabled is true, and not set soft_delete_retention_days, the resp softDeleteRetentionInDays is also nil, so no influence to existing test case.

Copy link
Member

@tombuildsstuff tombuildsstuff left a comment

Choose a reason for hiding this comment

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

hey @njuCZ

Thanks for this PR - apologies for the delayed review here!

I've taken a look through and left some comments inline but this is looking good - if we can fix those up then we should be able to take another look and get this merged 👍🏻

Thanks!

azurerm/internal/services/keyvault/key_vault_resource.go Outdated Show resolved Hide resolved
website/docs/r/key_vault.html.markdown Outdated Show resolved Hide resolved
website/docs/r/key_vault.html.markdown Outdated Show resolved Hide resolved
@njuCZ
Copy link
Contributor Author

njuCZ commented Aug 27, 2020

@tombuildsstuff I have modified this PR, could you please have a look again?

@ghost ghost removed the waiting-response label Aug 27, 2020
Copy link
Member

@tombuildsstuff tombuildsstuff left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@tombuildsstuff
Copy link
Member

Tests pass:

Screenshot 2020-08-27 at 10 29 22

@tombuildsstuff tombuildsstuff added this to the v2.25.0 milestone Aug 27, 2020
@tombuildsstuff tombuildsstuff merged commit cf7c2f0 into hashicorp:master Aug 27, 2020
tombuildsstuff added a commit that referenced this pull request Aug 27, 2020
@ghost
Copy link

ghost commented Aug 27, 2020

This has been released in version 2.25.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.25.0"
}
# ... other configuration ...

@ghost
Copy link

ghost commented Sep 26, 2020

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!

@hashicorp hashicorp locked and limited conversation to collaborators Sep 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants