germanbrew / terraform-provider-hetznerdns

Terraform provider for Hetzner DNS
https://registry.terraform.io/providers/germanbrew/hetznerdns/latest
Mozilla Public License 2.0
16 stars 0 forks source link

DOCS: Incorrect environment variable name (HETZNER_DNS_TOKEN) #114

Closed hamidonos closed 2 weeks ago

hamidonos commented 3 weeks ago

The doc says export HETZNER_DNS_TOKEN=<your api token> which should make the api token available in the environment variables.

I get this error message

│ While configuring the client, the API token was not found in the
│ HETZNER_DNS_API_TOKEN environment variable or client configuration block
│ apitoken attribute.

Naming the variable HETZNER_DNS_API_TOKEN makes the plan work as expected.

Notes

kimdre commented 2 weeks ago

Hi, we changed the token variable name with v3.2.0, are you using that version?