DopplerHQ / terraform-provider-doppler

Apache License 2.0
23 stars 9 forks source link

ENHANCEMENT: Secret notes #20

Open n2taylor opened 2 years ago

n2taylor commented 2 years ago

I'd love to be able to add some secret metadata using the "Notes" feature using the Terraform provider. The use case would be marking certain secrets as being managed by TF as opposed to manually entered. e.g.

resource "doppler_secret" "managed_secrets" {
  for_each = {
    "my_secret_1" = "foo", 
    "my_secret_2" = "bar"
  }
  project  = "my-project"
  config   = "prod"
  name     = each.key
  value    = each.value
  note     = "DO NOT EDIT - Managed by Terraform"
}
nmanoogian commented 2 years ago

Thanks for the recommendation, @n2taylor! This is a neat idea; I'll share it with our product team.

Supy commented 2 years ago

We'd have use for this feature for the same use case as outlined by the author.

Better yet would be some kind of visual indicator on the secret itself that shows it is managed by an IAC tool.

guidodobboletta commented 1 year ago

Is there any chance the team is working on this @nmanoogian ? It would be an awesome feature to see inside Doppler which secrets are managed by Terraform and which are managed manually

nmanoogian commented 1 year ago

Hi @guidodobboletta! The team isn't actively working on this but it is certainly still on our radar. I'll post here with any updates.

Lp-Francois commented 2 weeks ago

Hello 👋 Just to say it would be a great addition to the TF provider 😁