fix: use endpoints.s3 for S3 backend (endpoint deprecated in TF 1.8+)

This commit is contained in:
Story Crater Bot
2026-07-15 19:16:13 -07:00
parent ab103f00f0
commit 694350634b
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ jobs:
TF_SKIP_REQUESTING_ACCOUNT_ID: "true" TF_SKIP_REQUESTING_ACCOUNT_ID: "true"
run: | run: |
# Override S3 endpoint to use internal cluster DNS (storage ns) # Override S3 endpoint to use internal cluster DNS (storage ns)
export TF_CLI_ARGS_init="-backend-config=endpoint=http://minio.storage.svc.cluster.local:9000" export TF_CLI_ARGS_init="-backend-config=endpoints.s3=http://minio.storage.svc.cluster.local:9000"
terraform init terraform init
- name: Pull Terraform State - name: Pull Terraform State
+3 -1
View File
@@ -4,7 +4,9 @@ terraform {
bucket = "terraform-state" bucket = "terraform-state"
key = "homelab/terraform.tfstate" key = "homelab/terraform.tfstate"
region = "us-east-1" region = "us-east-1"
endpoint = "https://minio-api.riotpiao.homelab.com" endpoints = {
s3 = "https://minio-api.riotpiao.homelab.com"
}
profile = "minio" profile = "minio"
skip_credentials_validation = true skip_credentials_validation = true
skip_requesting_account_id = true skip_requesting_account_id = true