Skip to content

Commit 3ad6bb1

Browse files
authored
fix variable type def for placement constraints (#40)
1 parent 15a5deb commit 3ad6bb1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

variables.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,10 @@ variable "pid_mode" {
157157
variable "placement_constraints" {
158158
default = []
159159
description = "An array of placement constraint objects to use for the task"
160-
type = list(string)
160+
type = list(object({
161+
type = string
162+
expression = string
163+
}))
161164
}
162165

163166
variable "portMappings" {

0 commit comments

Comments
 (0)