Skip to content

Commit 9d61d38

Browse files
authored
fix(task-definition): update volumesFrom data type (#42)
The `volumesFrom` data type is an object array with `sourceContainer` and `readOnly` fields.
1 parent dc2b9b3 commit 9d61d38

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

variables.tf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,11 @@ variable "volumes" {
247247
variable "volumesFrom" {
248248
default = []
249249
description = "Data volumes to mount from another container"
250-
type = list(string)
250+
251+
type = list(object({
252+
readOnly = bool
253+
sourceContainer = string
254+
}))
251255
}
252256

253257
variable "workingDirectory" {

0 commit comments

Comments
 (0)