upgrade CloudPosse modules and AWS provider
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
f96c98643c
commit
eda1b43612
2
main.tf
2
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 -----------------------------------------*/
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 */
|
||||
}
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
terraform {
|
||||
required_version = ">= 0.12"
|
||||
required_providers {
|
||||
aws = "= 2.21.0"
|
||||
aws = "= 2.44.0"
|
||||
gandi = ">= 1.1.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue