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

Fork Sync: Update from parent repository #15

Merged
merged 2 commits into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ BUG FIXES:
* `azurerm_api_management_api` - set the `service_url` property when importing the resource [GH-23011]
* `azurerm_app_configuration` - prevent crash by nil checking the encryption configuration [GH-23302]
* `azurerm_app_configuration_feature` - update `percentage_filter_value` to accept correct type of float [GH-23263]
* `azurerm_key_vault_key` - ForceNew when `expiration_date` is removed from the config file [GH-23327]
* `azurerm_linux_function_app` - fix a bug in setting the storage settings when using Elastic Premium plans [GH-21212]
* `azurerm_linux_web_app` - fix docker app stack update [GH-23303]
* `azurerm_linux_web_app` - Fix crash in auto heal expansion [GH-21328]
Expand Down
6 changes: 6 additions & 0 deletions internal/services/keyvault/key_vault_key_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,12 @@ func resourceKeyVaultKey() *pluginsdk.Resource {

"tags": tags.Schema(),
},

CustomizeDiff: pluginsdk.CustomDiffWithAll(
pluginsdk.ForceNewIfChange("expiration_date", func(ctx context.Context, old, new, meta interface{}) bool {
return old.(string) != "" && new.(string) == ""
}),
),
}
}

Expand Down
Loading