Skip to content

Commit

Permalink
fix: use correct type for extraHosts directive (#39)
Browse files Browse the repository at this point in the history
The `extraHosts` directive is an array of objects, each containing an
`ipAddress` and a `hostname`, both of type `string`.
  • Loading branch information
jasonwalsh authored Jul 7, 2020
1 parent 5612458 commit 084ebe6
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 @@ -67,7 +67,11 @@ variable "execution_role_arn" {
variable "extraHosts" {
default = []
description = "A list of hostnames and IP address mappings to append to the /etc/hosts file on the container"
type = list(string)

type = list(object({
ipAddress = string
hostname = string
}))
}

variable "family" {
Expand Down

0 comments on commit 084ebe6

Please sign in to comment.