PrefectHQ / terraform-provider-prefect

Terraform Provider for Prefect Cloud
https://registry.terraform.io/providers/PrefectHQ/prefect/latest/docs
Apache License 2.0
29 stars 13 forks source link

bug: on unrelated name change, api_key shows plan change for prefect_service_account #100

Closed parkedwards closed 8 months ago

parkedwards commented 8 months ago

looks like this is less of a bug (the value doesnt' change), but more a side effect of having the api_key attribute as a Computed read-only property. It will always show as a known after apply state because there is no default value, and we can't use the UseStateForUnknown() planmodifier, as the value will change upon rotation