Skip to content

Commit

Permalink
Merge pull request #20 from acend/migrate-hcloud-s3
Browse files Browse the repository at this point in the history
use hcloud s3
  • Loading branch information
splattner authored Nov 7, 2024
2 parents 6c59604 + 8ce74e5 commit 329ec01
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Setup Terraform
uses: hashicorp/setup-terraform@v1
with:
terraform_version: 1.5.7
terraform_version: 1.9.8

# Initialize a new or existing Terraform working directory by creating initial files, loading any remote state, downloading modules, etc.
- name: Terraform Init
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/destroy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setup Terraform
uses: hashicorp/setup-terraform@v1
with:
terraform_version: 1.5.7
terraform_version: 1.9.8

# Initialize a new or existing Terraform working directory by creating initial files, loading any remote state, downloading modules, etc.
- name: Terraform Init
Expand Down
11 changes: 6 additions & 5 deletions main.tf
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
terraform {
backend "s3" {
bucket = "terraform"
key = "terraform.tfstate"
region = "main"
bucket = "acend-s3-storage"
key = "training-cluster/terraform.tfstate"
region = "nbg1"

skip_region_validation = true
skip_credentials_validation = true
skip_metadata_api_check = true
skip_region_validation = true
force_path_style = true
skip_requesting_account_id = true
skip_s3_checksum = true
}
}

Expand Down
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ terraform {
}
}

required_version = "1.5.7"
required_version = ">=1.9.0"
}

0 comments on commit 329ec01

Please sign in to comment.