Aiven v6.28.0 published on Friday, Nov 15, 2024 by Pulumi
Aiven Provider: Installation & Configuration
Installation
The aiven provider is available as a package in all Pulumi languages:
- JavaScript/TypeScript:
@pulumi/aiven
- Python:
pulumi-aiven
- Go:
github.com/pulumi/pulumi-aiven/sdk/v6/go/aiven
- .NET:
Pulumi.Aiven
- Java:
com.pulumi/aiven
The Pulumi provider for Aiven, the trusted open source data platform for everyone.
Authentication
Sign up for Aiven and create a personal token.
You can also create an application user and use its token for accessing the Aiven Provider.
Example usage
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: nodejs
config:
aiven:apiToken:
value: 'TODO: var.aiven_api_token'
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: python
config:
aiven:apiToken:
value: 'TODO: var.aiven_api_token'
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: dotnet
config:
aiven:apiToken:
value: 'TODO: var.aiven_api_token'
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: go
config:
aiven:apiToken:
value: 'TODO: var.aiven_api_token'
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: yaml
config:
aiven:apiToken:
value: 'TODO: var.aiven_api_token'
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: java
config:
aiven:apiToken:
value: 'TODO: var.aiven_api_token'
Environment variables
- For authentication, you can set the
AIVEN_TOKEN
to your token value. - To use beta resources, set
PROVIDER_AIVEN_ENABLE_BETA
to any value. - To allow IP filters to be purged, set
AIVEN_ALLOW_IP_FILTER_PURGE
to any value. This feature prevents accidental purging of IP filters, which can cause you to lose access to services.
Resource options
The list of options in this document is not comprehensive. However, most map directly to the Aiven REST API properties.