From fb28f5d2e7eb52f1a2ba433913652dcb2e29cede Mon Sep 17 00:00:00 2001 From: Daniel Mannarino Date: Fri, 23 Jun 2023 15:20:06 -0400 Subject: [PATCH] Upgrade to TF 1.0.x --- terraform/docker/docker-compose.yml | 2 +- terraform/main.tf | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/terraform/docker/docker-compose.yml b/terraform/docker/docker-compose.yml index fb98b9f6..72584355 100644 --- a/terraform/docker/docker-compose.yml +++ b/terraform/docker/docker-compose.yml @@ -1,7 +1,7 @@ version: "3.7" services: terraform: - image: globalforestwatch/terraform:1.2.2 + image: globalforestwatch/terraform:v1.4.2 volumes: - ../../:/usr/local/src - $HOME/.aws:/root/.aws:ro diff --git a/terraform/main.tf b/terraform/main.tf index c7804fdc..d5ff5dde 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -8,13 +8,13 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = "< 4" + version = "< 5" } } } provider "aws" { - version = "< 4" + version = "< 5" region = "us-east-1" } @@ -70,4 +70,4 @@ locals { name_suffix = "-${terraform.workspace}" project = "datapump" glad_path = "s3://gfw2-data/forest_change/umd_landsat_alerts/prod" -} +} \ No newline at end of file