Skip to content

Commit

Permalink
upgrade terraform version to from 0.13.x 1.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
avrohomgottlieb committed Nov 22, 2024
1 parent 54bb259 commit 3ca3c7b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_prod_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_staging_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions infrastructure/provider.tf
Original file line number Diff line number Diff line change
@@ -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" {
Expand Down

0 comments on commit 3ca3c7b

Please sign in to comment.