Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for keepers attribute for tls_private_key to allow for automatic rotation #134

Open
oboukili opened this issue Nov 9, 2021 · 0 comments

Comments

@oboukili
Copy link

oboukili commented Nov 9, 2021

Hello,

To allow for automatic private keys rotation in conjunction with the time provider, the tls_private_key attribute should support an arbitrary keepers map attribute that would trigger the resource recreation upon change.

Affected Resource(s)

Please list the resources as a list, for example:

  • tls_private_key

Expected

resource "time_rotating" "example" {
  rotation_days = 3
}

resource "tls_private_key" "example" {
  algorithm   = "ECDSA"
  ecdsa_curve = "P384"
  keepers = {
    rotation = time_rotating.example.rotation_rfc3339
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants