Skip to content

Commit

Permalink
fix(task-definition): update volumesFrom data type (#42)
Browse files Browse the repository at this point in the history
The `volumesFrom` data type is an object array with `sourceContainer`
and `readOnly` fields.
  • Loading branch information
jasonwalsh committed Oct 1, 2020
1 parent dc2b9b3 commit 9d61d38
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit 9d61d38

Please sign in to comment.