Provisioning - pulumi

Version 1.9 by Kevin Wiki on 2026/04/06 20:20

Setting up state backend in hetzner bucket

Configure Hetzner

Login and create an Object Storage Bucket at https://console.hetzner.com/project/YOUR_PROJECT_ID/buckets.
Define a unique name along with the region you want. Create the bucket with Private visibility.

Create S3 credentials for Private Bucket access under Hetzners Security page.

Configure environment

Define the following environment variables:

export AWS_ACCESS_KEY_ID="YOUR_HETZNER_ACCESS_KEY"
export AWS_SECRET_ACCESS_KEY="YOUR_HETZNER_SECRET_KEY"

export PULUMI_COMFIG_PASSPHRASE="SOME_STRONG_PASSPHRASE

Now login with the following command structure: