Skip to content

Commit

Permalink
Merge pull request #981 from AlexsLemonade/avrohom/upgrade-aws-provid…
Browse files Browse the repository at this point in the history
…er-to-4-0

Upgrade to aws provider version >4.x.x, add upgrade flag to init script
  • Loading branch information
avrohomgottlieb authored Nov 22, 2024
2 parents 59327f9 + 3deb708 commit 247aaf7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions infrastructure/init_terraform.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def init_terraform(env, user):
command = [
"terraform",
"init",
"-upgrade",
init_bucket,
init_key,
"-backend-config=dynamodb_table=scpca-portal-terraform-lock",
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
aws = {
source = "-/aws"
version = ">= 3.37.0, < 4.0.0"
version = ">= 4.9.0, < 5.0.0"
}
}
required_version = "0.13.0"
Expand Down

0 comments on commit 247aaf7

Please sign in to comment.