Require provider api_key and remove env var fallback

This commit is contained in:
beatz174-bit
2026-05-04 01:21:53 +10:00
parent 2b0c058664
commit a317b5f0ce
13 changed files with 22 additions and 30 deletions
+2 -4
View File
@@ -20,9 +20,7 @@ This example performs full live validation of the Dynu provider lifecycle by cre
## Prerequisites
- A local build of this provider with Terraform `dev_overrides` for `dynu/dynu`.
- Dynu API key provided either by:
- environment variable `DYNU_API_KEY`, or
- Terraform variable `dynu_api_key`.
- Dynu API key provided as Terraform variable `dynu_api_key` (for example via `terraform.tfvars`).
- A disposable domain value for `test_domain`.
## Required variables
@@ -31,7 +29,7 @@ Create `terraform.tfvars` in this folder:
```hcl
test_domain = "my-disposable-test-domain.example"
# dynu_api_key = "..." # optional if DYNU_API_KEY is exported
dynu_api_key = "..."
```
## Commands