Changes for page Provisioning - pulumi
Last modified by Kevin Wiki on 2026/04/06 20:22
From version
1.6
edited by Kevin Wiki
on 2026/04/06 20:10
on 2026/04/06 20:10
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,6 +1,6 @@ 1 1 ## Setting up state backend in hetzner bucket 2 2 3 -Configure Het 3 +### Configure Hetzner 4 4 5 5 Login and create an Object Storage Bucket at https://console.hetzner.com/project/YOUR_PROJECT_ID/buckets. 6 6 Define a unique name along with the region you want. Create the bucket with Private visibility. ... ... @@ -7,4 +7,26 @@ 7 7 8 8 Create S3 credentials for Private Bucket access under Hetzners Security page. 9 9 10 -## 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 +