diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b505323..d7bd4c2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 diff --git a/.github/workflows/destroy.yml b/.github/workflows/destroy.yml index 99d2841..4cbac32 100644 --- a/.github/workflows/destroy.yml +++ b/.github/workflows/destroy.yml @@ -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 diff --git a/main.tf b/main.tf index 2c99a35..89b8b45 100644 --- a/main.tf +++ b/main.tf @@ -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 } } diff --git a/versions.tf b/versions.tf index 1c40221..d371a3b 100644 --- a/versions.tf +++ b/versions.tf @@ -8,5 +8,5 @@ terraform { } } - required_version = "1.5.7" + required_version = ">=1.9.0" }