Skip to content

Commit b64d377

Browse files
authored
Merge pull request #3 from zeroae/chore/tf-14
Update to TF 0.14
2 parents b64f560 + faadd09 commit b64d377

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

main.tf

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ locals {
33
}
44

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

1212
module "copy_from_s3" {
13-
source = "git::https://github.com/cloudposse/terraform-aws-ecs-container-definition.git?ref=tags/0.41.0"
13+
source = "git::https://github.com/cloudposse/terraform-aws-ecs-container-definition.git?ref=tags/0.57.0"
1414
container_name = "copy_from_s3"
1515
container_image = var.awscli_image
1616
essential = false
@@ -33,6 +33,7 @@ module "copy_from_s3" {
3333
{
3434
containerPath = "/srv/data"
3535
sourceVolume = module.volume_label.id
36+
readOnly = false
3637
}
3738
]
3839

@@ -42,7 +43,7 @@ module "copy_from_s3" {
4243
# TODO: Implement a health check
4344
# TODO: Support multiple volumes
4445
module "mobius3" {
45-
source = "git::https://github.com/cloudposse/terraform-aws-ecs-container-definition.git?ref=tags/0.41.0"
46+
source = "git::https://github.com/cloudposse/terraform-aws-ecs-container-definition.git?ref=tags/0.57.0"
4647
container_name = "mobius3"
4748
container_image = var.mobius3_image
4849
essential = true
@@ -71,6 +72,7 @@ module "mobius3" {
7172
{
7273
containerPath = "/srv/data"
7374
sourceVolume = module.volume_label.id
75+
readOnly = false
7476
}
7577
]
7678

versions.tf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
terraform {
2-
required_version = ">= 0.12.0, < 0.14.0"
2+
required_version = ">= 0.13"
33

44
required_providers {
5-
local = "~> 1.2"
6-
random = "~> 2.2"
75
}
86
}

0 commit comments

Comments
 (0)