FightPandemics / infrastructure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't work for latest terraform 0.13 & aws provider 3.x

joshmorel opened this issue · comments

The current files won't work for terraform 13 (the latest version to download as per instructions). Error:

Could not find required providers, but found possible alternatives:

  hashicorp/mongodbatlas -> terraform-providers/mongodbatlas

If these suggestions look correct, upgrade your configuration with the
following command:
    terraform 0.13upgrade .

Even with 0.12.29 there is an error if it tries to install latest AWS (3.*) due to indices.

This fixed it.

provider "aws" {
  region = var.aws_region
  version = "2.70.0"
}