Skip to main content
The bunny.net Terraform provider supports two authentication methods.
Team member API keys are not supported. You must use your account’s main API key.

Using the provider configuration

Set the api_key attribute directly in your provider configuration:

Using environment variables

Alternatively, set the BUNNYNET_API_KEY environment variable:
Then configure the provider without the api_key attribute:

Provider configuration options

You can find your API key in the bunny.net dashboard.