1. Packages
  2. Aiven Provider
  3. Installation & Configuration
Aiven v6.25.0 published on Friday, Sep 27, 2024 by Pulumi

Aiven Provider: Installation & Configuration

aiven logo
Aiven v6.25.0 published on Friday, Sep 27, 2024 by Pulumi

    Installation

    The aiven provider is available as a package in all Pulumi languages:

    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.

    aiven logo
    Aiven v6.25.0 published on Friday, Sep 27, 2024 by Pulumi