fix:Update the home lab repo
This commit is contained in:
@@ -88,9 +88,14 @@ jobs:
|
|||||||
TF_SKIP_REQUESTING_ACCOUNT_ID: "true"
|
TF_SKIP_REQUESTING_ACCOUNT_ID: "true"
|
||||||
run: |
|
run: |
|
||||||
terraform init \
|
terraform init \
|
||||||
|
-backend-config="bucket=terraform-state" \
|
||||||
|
-backend-config="key=homelab/terraform.tfstate" \
|
||||||
|
-backend-config="region=us-east-1" \
|
||||||
-backend-config="endpoint=http://minio.storage.svc.cluster.local:9000" \
|
-backend-config="endpoint=http://minio.storage.svc.cluster.local:9000" \
|
||||||
-backend-config="access_key=$AWS_ACCESS_KEY_ID" \
|
-backend-config="access_key=$AWS_ACCESS_KEY_ID" \
|
||||||
-backend-config="secret_key=$AWS_SECRET_ACCESS_KEY"
|
-backend-config="secret_key=$AWS_SECRET_ACCESS_KEY" \
|
||||||
|
-backend-config="skip_credentials_validation=true" \
|
||||||
|
-backend-config="use_path_style=true"
|
||||||
|
|
||||||
- name: Pull Terraform State
|
- name: Pull Terraform State
|
||||||
working-directory: terraform
|
working-directory: terraform
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ terraform {
|
|||||||
key = "homelab/terraform.tfstate"
|
key = "homelab/terraform.tfstate"
|
||||||
region = "us-east-1"
|
region = "us-east-1"
|
||||||
endpoint = "https://minio-api.riotpiao.homelab.com"
|
endpoint = "https://minio-api.riotpiao.homelab.com"
|
||||||
profile = "minio"
|
|
||||||
skip_credentials_validation = true
|
skip_credentials_validation = true
|
||||||
skip_requesting_account_id = true
|
skip_requesting_account_id = true
|
||||||
skip_region_validation = true
|
skip_region_validation = true
|
||||||
|
|||||||
Reference in New Issue
Block a user