1. Packages
  2. Aiven Provider
Aiven v6.42.1 published on Monday, Sep 15, 2025 by Pulumi

Aiven Provider

aiven logo
Aiven v6.42.1 published on Monday, Sep 15, 2025 by Pulumi

    Installation

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

    Overview

    The Pulumi provider for Aiven, your AI-ready open source data platform.

    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'
    
    import * as pulumi from "@pulumi/pulumi";
    
    # Pulumi.yaml provider configuration file
    name: configuration-example
    runtime: python
    config:
        aiven:apiToken:
            value: 'TODO: var.aiven_api_token'
    
    import pulumi
    
    # Pulumi.yaml provider configuration file
    name: configuration-example
    runtime: dotnet
    config:
        aiven:apiToken:
            value: 'TODO: var.aiven_api_token'
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    
    return await Deployment.RunAsync(() =>
    {
    });
    
    # Pulumi.yaml provider configuration file
    name: configuration-example
    runtime: go
    config:
        aiven:apiToken:
            value: 'TODO: var.aiven_api_token'
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		return nil
    	})
    }
    
    # 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'
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
        }
    }
    

    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.42.1 published on Monday, Sep 15, 2025 by Pulumi