Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}
}