Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[KMS] fix kms deletion with enabled rotation (#1823)
[KMS] fix kms deletion with enabled rotation Summary of the Pull Request When reenable key, which was created with rotation: {"error":{"error_msg":"The rotation state of key is not disabled.","error_code":"KMS.2901"}}. PR Checklist Refers to: #1804 #1821 Tests added/passed. Documentation updated. Schema updated. Release notes added. Acceptance Steps Performed === RUN TestAccKmsKeyV1_basic --- PASS: TestAccKmsKeyV1_basic (83.19s) === RUN TestAccKmsKey_isEnabled --- PASS: TestAccKmsKey_isEnabled (116.61s) === RUN TestAccKmsKey_rotation --- PASS: TestAccKmsKey_rotation (51.10s) === RUN TestAccKmsKey_cancelDeletion --- PASS: TestAccKmsKey_cancelDeletion (50.83s) === RUN TestAccKmsKey_cancelDeletionWithRotation --- PASS: TestAccKmsKey_cancelDeletionWithRotation (52.38s) PASS Process finished with the exit code 0 Reviewed-by: Vladimir Vshivkov <None> Reviewed-by: Artem Lifshits <None>
- Loading branch information
1 parent
6e452de
commit 5368baf
Showing
3 changed files
with
69 additions
and
10 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
4 changes: 4 additions & 0 deletions
4
releasenotes/notes/kms-fix-delete-rotation-a3bb49f050801dcd.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
fixes: | ||
- | | ||
**[KMS]** Fix key deletion with enabled ``rotation`` in ``resource/opentelekomcloud_kms_key_v1`` (`#1823 <https://github.com/opentelekomcloud/terraform-provider-opentelekomcloud/pull/1823>`_) |