kelvintaywl / terraform-provider-circleci

(Unofficial) Terraform Provider for CircleCI
https://registry.terraform.io/providers/kelvintaywl/circleci/latest
Mozilla Public License 2.0
12 stars 3 forks source link

Improve checkout_key error messaging #29

Closed kelvintaywl closed 1 year ago

kelvintaywl commented 1 year ago

Right now, if a user-type checkout key is required, CircleCI can return HTTP 500 if the user has not authorized CircleCI (OAuth) to allow for public key scope on GitHub.

I've shared this caveat in the resource document but I think it'll be even better if this message is returned in TF itself.

See https://registry.terraform.io/providers/kelvintaywl/circleci/latest/docs/resources/checkout_key