Changes for page Provisioning - pulumi
Last modified by Kevin Wiki on 2026/04/06 20:22
From version
1.2
edited by Kevin Wiki
on 2026/04/06 20:07
on 2026/04/06 20:07
Change comment:
There is no comment for this version
To version
2.1
edited by Kevin Wiki
on 2026/04/06 20:22
on 2026/04/06 20:22
Change comment:
There is no comment for this version
Summary
Details
- Page properties
-
- Content
-
... ... @@ -1,5 +1,32 @@ 1 -Setting up state backend in hetzner bucket 1 +## Setting up state backend in hetzner bucket 2 2 3 - Loginand create a Object Storage Bucketat https://console.hetzner.com/project/YOUR_PROJECT_ID/buckets.3 +### Configure Hetzner 4 4 5 -SEt 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. 7 + 8 +Create S3 credentials for Private Bucket access under Hetzners Security page. 9 + 10 +### Configure environment 11 + 12 +Define the following environment variables: 13 + 14 +```base 15 +export AWS_ACCESS_KEY_ID="YOUR_HETZNER_ACCESS_KEY" 16 +export AWS_SECRET_ACCESS_KEY="YOUR_HETZNER_SECRET_KEY" 17 +EXPORT AWS_REGION="YOUR_AWS_REGION" 18 + 19 +export PULUMI_COMFIG_PASSPHRASE="SOME_STRONG_PASSPHRASE 20 +``` 21 + 22 +Now login with the following command structure: 23 + 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 + 32 +