azurerm_key_vault_certificate: set partial when updating key vault certificate#28848
Merged
mbfrahry merged 2 commits intohashicorp:mainfrom Feb 28, 2025
Merged
Conversation
azurerm_key_vault_certificate: set partial when updating key vault certificate
Co-authored-by: Matthew Frahry <[email protected]>
mbfrahry
approved these changes
Feb 28, 2025
mbfrahry
added a commit
that referenced
this pull request
Feb 28, 2025
jackofallops
added a commit
that referenced
this pull request
Mar 7, 2025
* Update CHANGELOG.md #28843 * Update CHANGELOG.md for #28748 * Update CHANGELOG.md for #28881 * Update CHANGELOG.md for #28909 * Update CHANGELOG.md fold in patch release and expand starred entry correctly * Update CHANGELOG.md remove duplicate entry for 28843 * Update CHANGELOG.md #28066 * Update CHANGELOG.md for #28902 and fix ordering * Update CHANGELOG.md for #28848 * Update CHANGELOG.md #27622 * Update CHANGELOG.md for #28271 * Update CHANGELOG.md update format * Update CHANGELOG.md #28934 * Update for #28619 #28598 * Update CHANGELOG.md #28940 * Update CHANGELOG.md for #28880 * Update CHANGELOG.md for #28617 * Update CHANGELOG.md #28721 * Update CHANGELOG.md #28949 * Update previous entry for 4.16.0 * Update CHANGELOG.md for #28834 * prep for release --------- Co-authored-by: Matthew Frahry <[email protected]> Co-authored-by: jackofallops <[email protected]> Co-authored-by: catriona-m <[email protected]> Co-authored-by: stephybun <[email protected]> Co-authored-by: Wodans Son <[email protected]> Co-authored-by: jackofallops <[email protected]>
Contributor
|
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Community Note
Description
The
certificateblock can not be set in Read function as it's not reponded by API, so if one updating on the certificate failed, the content from configuration will be set to state as well, but subsequentterraform applywith refresh cannot reset the wrong setcertificateblock, which described in issue #28812.By setting partial as true in Update, the subsequent
terraform applywill keep the drift as expected:PR Checklist
For example: “
resource_name_here- description of change e.g. adding propertynew_property_name_here”Changes to existing Resource / Data Source
Change Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
azurerm_key_vault_certificate- fix Update failing cause losing the diff [azurerm_key_vault_certificate updates state but not resource after conflict error #28812]This is a (please select all that apply):
Related Issue(s)
Fixes #28812