From 9d61d386f2659ea3bea491990c10d951eaab971d Mon Sep 17 00:00:00 2001 From: jasonwalsh <2184329+jasonwalsh@users.noreply.github.com> Date: Thu, 1 Oct 2020 09:10:43 -0400 Subject: [PATCH] fix(task-definition): update volumesFrom data type (#42) The `volumesFrom` data type is an object array with `sourceContainer` and `readOnly` fields. --- variables.tf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/variables.tf b/variables.tf index 45d695d..e5fa487 100644 --- a/variables.tf +++ b/variables.tf @@ -247,7 +247,11 @@ variable "volumes" { variable "volumesFrom" { default = [] description = "Data volumes to mount from another container" - type = list(string) + + type = list(object({ + readOnly = bool + sourceContainer = string + })) } variable "workingDirectory" {