go-gandi / terraform-provider-gandi

Terraform provider for the Gandi Domain services
Mozilla Public License 2.0
152 stars 45 forks source link

Provider initialization for 2.2.0 not working and requesting GANDI_API_KEY #154

Open educatedwarrior opened 2 months ago

educatedwarrior commented 2 months ago

According to the new documentation on initiating the gandi provider, the API_KEY has been deprecated. However I am getting an error where the provider is still requesting the "GANDI_API_KEY", which currently cannot be created on the Gandi website. I followed the instructions to pass in "personal_access_token" as input and that doesn't work. I get the same error for 2.2.0 and 2.3.0

error configuring plugin: rpc error: code = Unknown desc = error initializing provider: gandi: some credentials information are missing: GANDI_API_KEY │ │ with acme_certificate.certificates["xxxxxx.com"], │ on dns.tf line 25, in resource "acme_certificate" "certificates": │ 25: resource "acme_certificate" "certificates" {