From d8d1c0ff418c07f7e84101bf643f285c350b724c Mon Sep 17 00:00:00 2001 From: Benjamin Chodoroff Date: Fri, 7 Aug 2020 12:52:30 -0400 Subject: [PATCH] fix variable type def for placement constraints --- variables.tf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/variables.tf b/variables.tf index 45d695d..4d6b325 100644 --- a/variables.tf +++ b/variables.tf @@ -157,7 +157,10 @@ variable "pid_mode" { variable "placement_constraints" { default = [] description = "An array of placement constraint objects to use for the task" - type = list(string) + type = list(object({ + type = string + expression = string + })) } variable "portMappings" {