terraform-provider-tls
terraform-provider-tls copied to clipboard
Provide a better way to regenerate private keys other than manually tainting state.
Terraform CLI and Provider Versions
Terraform v1.6.4 on darwin_arm64
- provider registry.terraform.io/hashicorp/tls v4.0.5
Use Cases or Problem Statement
According to the documentation, the only way to regenerate a private key resource is to manually taint the resource in state. This can add significant ongoing friction to maintaining a deployment (or several deployments) when secrets rotate.
Proposal
Add some method of rotating the key that relies on changing some derived value in the resource. Maybe something like #395. Or a triggers
object like in time_sleep
.
How much impact is this issue causing?
Medium
Additional Information
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct