secrethub / terraform-provider-secrethub

Terraform Provider to manage and use secrets
https://secrethub.io
Apache License 2.0
49 stars 11 forks source link

Remove secret at old path when secret path is updated #120

Closed SimonBarendse closed 3 years ago

SimonBarendse commented 3 years ago

Previously, when updating the path of a secrethub_secret resource the secret would be created in the new location, but the secret would also remain at the old location. This commit changes the behavior so that the secret is removed in the old location when the path of the secret resource is changed.