Skip to content

Commit

Permalink
Merge pull request #3 from zeroae/chore/tf-14
Browse files Browse the repository at this point in the history
Update to TF 0.14
  • Loading branch information
sodre authored Jul 19, 2021
2 parents b64f560 + faadd09 commit b64d377
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 5 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ locals {
}

module "volume_label" {
source = "git::https://github.com/cloudposse/terraform-null-label.git?ref=tags/0.19.2"
source = "git::https://github.com/cloudposse/terraform-null-label.git?ref=tags/0.24.1"
name = var.volume_name
delimiter = "_"
label_order = ["name"]
}

module "copy_from_s3" {
source = "git::https://github.com/cloudposse/terraform-aws-ecs-container-definition.git?ref=tags/0.41.0"
source = "git::https://github.com/cloudposse/terraform-aws-ecs-container-definition.git?ref=tags/0.57.0"
container_name = "copy_from_s3"
container_image = var.awscli_image
essential = false
Expand All @@ -33,6 +33,7 @@ module "copy_from_s3" {
{
containerPath = "/srv/data"
sourceVolume = module.volume_label.id
readOnly = false
}
]

Expand All @@ -42,7 +43,7 @@ module "copy_from_s3" {
# TODO: Implement a health check
# TODO: Support multiple volumes
module "mobius3" {
source = "git::https://github.com/cloudposse/terraform-aws-ecs-container-definition.git?ref=tags/0.41.0"
source = "git::https://github.com/cloudposse/terraform-aws-ecs-container-definition.git?ref=tags/0.57.0"
container_name = "mobius3"
container_image = var.mobius3_image
essential = true
Expand Down Expand Up @@ -71,6 +72,7 @@ module "mobius3" {
{
containerPath = "/srv/data"
sourceVolume = module.volume_label.id
readOnly = false
}
]

Expand Down
4 changes: 1 addition & 3 deletions versions.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
terraform {
required_version = ">= 0.12.0, < 0.14.0"
required_version = ">= 0.13"

required_providers {
local = "~> 1.2"
random = "~> 2.2"
}
}

0 comments on commit b64d377

Please sign in to comment.