Closed
Description
I've got some error when using attributes extraHosts
and placement_constraints
, eg.:
extraHosts = [
{ hostname: "some.host", ipAddress: "192.168.1.1" }
]
causes:
The given value is not suitable for child module variable "extraHosts" defined
at .terraform/modules/yarek-dev.ecs-task-definition/variables.tf:66,1-22:
element 0: string required.
After change type of variable in module source from list(string)
to list(any)
everything is ok. Did you tested all posible attributes?