Skip to main content

Search the Dev Center

Search tutorials, templates, examples, and more.

aiven-python

A minimal Aiven Python Pulumi program

Get started

Create a new project from this template with the Pulumi CLI:
Terminal window
mkdir my-project && cd my-project
pulumi new aiven-python

Configuration

The template prompts for these values during pulumi new.
KeyDescriptionDefault
projectNameAiven project name—
cloudNameChoice of cloud provider and regiongoogle-europe-west1
planNameAn Aiven plan to choose compute, storage, and other featuresbusiness-4
serviceNameThe name of this Aiven servicekafka-gcp-eu
You can change these values later with pulumi config set:
Terminal window
pulumi config set projectName <value>
pulumi config set cloudName <value>
pulumi config set planName <value>
pulumi config set serviceName <value>

Deploying the project

Once the new project is created and configured, you can deploy it with pulumi up:
Terminal window
pulumi up

Related

The infrastructure as code platform for any cloud.