Terraform provider to configure Apache APISIX® using its API.
Tested with Apache APISIX® 3.11.0
.
The provider configuration method loads configuration data either from environment variables, or from the provider block in Terraform configuration.
provider "apisix" {
endpoint = "http://127.0.0.1:9180"
api_key = "edd1c9f034335f136f87ad84b625c8f1"
}
You can use the APISIX_ENDPOINT
and APISIX_APIKEY
environment variables for the provider configuration.
$ APISIX_ENDPOINT=http://127.0.0.1:9180 \
APISIX_API_KEY=edd1c9f034335f136f87ad84b625c8f1 \
terraform plan
To contribute, please read the contribution guidelines. You may also report an issue.