Skip to content

Commit 084ebe6

Browse files
authored
fix: use correct type for extraHosts directive (#39)
The `extraHosts` directive is an array of objects, each containing an `ipAddress` and a `hostname`, both of type `string`.
1 parent 5612458 commit 084ebe6

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
@@ -67,7 +67,11 @@ variable "execution_role_arn" {
6767
variable "extraHosts" {
6868
default = []
6969
description = "A list of hostnames and IP address mappings to append to the /etc/hosts file on the container"
70-
type = list(string)
70+
71+
type = list(object({
72+
ipAddress = string
73+
hostname = string
74+
}))
7175
}
7276

7377
variable "family" {

0 commit comments

Comments
 (0)