Wiki source code of Provisioning - pulumi

Last modified by Kevin Wiki on 2026/04/06 20:22

Hide last authors
Kevin Wiki 1.6 1 ## Setting up state backend in hetzner bucket
Kevin Wiki 1.1 2
Kevin Wiki 1.8 3 ### Configure Hetzner
Kevin Wiki 1.6 4
Kevin Wiki 1.4 5 Login and create an Object Storage Bucket at https://console.hetzner.com/project/YOUR_PROJECT_ID/buckets.
6 Define a unique name along with the region you want. Create the bucket with Private visibility.
Kevin Wiki 1.2 7
Kevin Wiki 1.6 8 Create S3 credentials for Private Bucket access under Hetzners Security page.
9
Kevin Wiki 1.8 10 ### Configure environment
11
12 Define the following environment variables:
13
Kevin Wiki 1.9 14 ```base
15 export AWS_ACCESS_KEY_ID="YOUR_HETZNER_ACCESS_KEY"
16 export AWS_SECRET_ACCESS_KEY="YOUR_HETZNER_SECRET_KEY"
Kevin Wiki 2.1 17 EXPORT AWS_REGION="YOUR_AWS_REGION"
Kevin Wiki 1.9 18
19 export PULUMI_COMFIG_PASSPHRASE="SOME_STRONG_PASSPHRASE
20 ```
21
22 Now login with the following command structure:
23
Kevin Wiki 2.1 24 ```bash
25 pulumi login "s3://YOUR_BUCKET_NAME?\
26 endpoint=YOUR_BUCKET_REGION.your-objectstorage.com&\
27 disableSSL=false&\
28 s3ForcePathStyle=true"
29
30 ```
31
Kevin Wiki 1.8 32