Skip to content

Commit

Permalink
Merge pull request #15 from hashicorp/main
Browse files Browse the repository at this point in the history
Fork Sync: Update from parent repository
  • Loading branch information
mbialon authored Sep 20, 2023
2 parents bfb7995 + d9383de commit a8a5412
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
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

0 comments on commit a8a5412

Please sign in to comment.