diff --git a/infrastructure/init_terraform.py b/infrastructure/init_terraform.py index 0e24e5a8..74535ad6 100644 --- a/infrastructure/init_terraform.py +++ b/infrastructure/init_terraform.py @@ -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", diff --git a/infrastructure/provider.tf b/infrastructure/provider.tf index 27c15246..f6f56402 100644 --- a/infrastructure/provider.tf +++ b/infrastructure/provider.tf @@ -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"