From 3ca3c7be7afb54e9c7f625d3d70c7c56b4650c55 Mon Sep 17 00:00:00 2001 From: Avrohom Gottlieb Date: Fri, 22 Nov 2024 14:34:47 -0500 Subject: [PATCH] upgrade terraform version to from 0.13.x 1.0.x --- .github/workflows/deploy_prod_backend.yml | 2 +- .github/workflows/deploy_staging_backend.yml | 2 +- infrastructure/provider.tf | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy_prod_backend.yml b/.github/workflows/deploy_prod_backend.yml index 7678ed12..dd724802 100644 --- a/.github/workflows/deploy_prod_backend.yml +++ b/.github/workflows/deploy_prod_backend.yml @@ -33,7 +33,7 @@ jobs: - name: Setup Terraform uses: hashicorp/setup-terraform@v3 with: - terraform_version: 0.13.0 + terraform_version: 1.0.0 - name: Deploy run: cd infrastructure && python3 deploy.py -e prod -u deployer -d ccdl -v $(git rev-parse HEAD) diff --git a/.github/workflows/deploy_staging_backend.yml b/.github/workflows/deploy_staging_backend.yml index 0c6b77a9..ab9ad60e 100644 --- a/.github/workflows/deploy_staging_backend.yml +++ b/.github/workflows/deploy_staging_backend.yml @@ -33,7 +33,7 @@ jobs: - name: Setup Terraform uses: hashicorp/setup-terraform@v3 with: - terraform_version: 0.13.0 + terraform_version: 1.0.0 - name: Deploy run: cd infrastructure && python3 deploy.py -e staging -u deployer -d ccdlstaging -v $(git rev-parse HEAD) diff --git a/infrastructure/provider.tf b/infrastructure/provider.tf index 79374330..737e12c8 100644 --- a/infrastructure/provider.tf +++ b/infrastructure/provider.tf @@ -1,12 +1,12 @@ terraform { required_providers { aws = { - source = "-/aws" + source = "hashicorp/aws" version = ">= 4.9.0, < 5.0.0" # version = "~> 5.0.0" } } - required_version = "0.13.0" + required_version = "1.0.0" } provider "aws" {