terraform-provider-vault icon indicating copy to clipboard operation
terraform-provider-vault copied to clipboard

Check is kv2 secret deleted

Open bozaro opened this issue 3 years ago • 1 comments

Currentry on deleted kv2 secret version versionedSecret returns data with two fields like:

{
  "data": null,
  "metadata": {
    "created_time": "2021-08-03T15:41:55.520255191Z",
    "deletion_time": "2021-08-03T15:43:43.175152029Z",
    "destroyed": false,
    "version": 2
  }
}

In this case terraform don't try recreate manually deleted resource and put this data to resource output.

bozaro avatar Aug 03 '21 20:08 bozaro

CLA assistant check
All committers have signed the CLA.

hashicorp-cla avatar Aug 03 '21 20:08 hashicorp-cla