From eda1b43612b742853dcd6c1ea7a526f51dd3e386 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Wed, 15 Jan 2020 12:06:44 +0100 Subject: [PATCH] upgrade CloudPosse modules and AWS provider MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- main.tf | 2 -- modules/aws-eb-env/main.tf | 8 ++++---- variables.tf | 2 +- versions.tf | 3 ++- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/main.tf b/main.tf index 7402739..0ad3385 100644 --- a/main.tf +++ b/main.tf @@ -6,12 +6,10 @@ provider "aws" { region = "us-east-1" access_key = var.aws_access_key secret_key = var.aws_secret_key - version = "<= 2.21.0" } provider "gandi" { key = var.gandi_api_token - version = ">= 1.1.0" } /* DATA -----------------------------------------*/ diff --git a/modules/aws-eb-env/main.tf b/modules/aws-eb-env/main.tf index 7a06d89..fe50ab6 100644 --- a/modules/aws-eb-env/main.tf +++ b/modules/aws-eb-env/main.tf @@ -8,7 +8,7 @@ data "aws_availability_zones" "available" { } module "vpc" { - source = "git::https://github.com/cloudposse/terraform-aws-vpc.git?ref=0.7.0" + source = "git::https://github.com/cloudposse/terraform-aws-vpc.git?ref=0.8.1" namespace = "" stage = var.stage @@ -17,7 +17,7 @@ module "vpc" { } module "subnets" { - source = "git::https://github.com/cloudposse/terraform-aws-dynamic-subnets.git?ref=0.16.0" + source = "git::https://github.com/cloudposse/terraform-aws-dynamic-subnets.git?ref=0.18.1" availability_zones = slice(data.aws_availability_zones.available.names, 0, var.max_availability_zones) namespace = "" @@ -31,7 +31,7 @@ module "subnets" { } module "eb_application" { - source = "git::https://github.com/cloudposse/terraform-aws-elastic-beanstalk-application.git?ref=0.3.0" + source = "git::https://github.com/cloudposse/terraform-aws-elastic-beanstalk-application.git?ref=0.4.0" name = local.app_name description = "${local.fqdn} application" @@ -40,7 +40,7 @@ module "eb_application" { } module "eb_environment" { - source = "git::https://github.com/cloudposse/terraform-aws-elastic-beanstalk-environment.git?ref=0.14.0" + source = "git::https://github.com/cloudposse/terraform-aws-elastic-beanstalk-environment.git?ref=0.17.0" description = "Dapp Discovery Store - ${local.fqdn}" name = local.app_name diff --git a/variables.tf b/variables.tf index d07b29c..173a23f 100644 --- a/variables.tf +++ b/variables.tf @@ -48,7 +48,7 @@ variable "ssh_user" { variable "stack_name" { description = "Elastic Beanstalk stack, e.g. Docker, Go, Node, Java, IIS." - default = "64bit Amazon Linux 2018.03 v4.11.0 running Node.js" + default = "64bit Amazon Linux 2018.03 v4.12.0 running Node.js" /* http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html */ } diff --git a/versions.tf b/versions.tf index 4daaf74..7438804 100644 --- a/versions.tf +++ b/versions.tf @@ -2,6 +2,7 @@ terraform { required_version = ">= 0.12" required_providers { - aws = "= 2.21.0" + aws = "= 2.44.0" + gandi = ">= 1.1.0" } }