Add keepers to resources
jawnsy opened this issue · comments
Some of our resources should support keepers
to support re-creating resources periodically. For example, Service Account API Keys would benefit from this capability.
There are some examples from Terraform's official providers: https://github.com/hashicorp/terraform-provider-random/blob/27fa05e361c077b2da94d19353bf45fed11a29c9/internal/provider/resource_id.go#L58-L66
keepers are a legacy concept that should not be required anymore following the introduction of lifecycle replace_triggered_by