Skip to content

Commit

Permalink
For service discovery, container_{name,port} and port are optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Hobson committed Jul 28, 2023
1 parent d667f8b commit c9c35bf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 +224,12 @@ variable "hello_world_container_ports" {
}

variable "service_registries" {
description = "List of service registry objects as per <https://www.terraform.io/docs/providers/aws/r/ecs_service.html#service_registries-1>. List can only have a single object until <https://github.com/terraform-providers/terraform-provider-aws/issues/9573> is resolved."
description = "List of service registry objects as per <https://www.terraform.io/docs/providers/aws/r/ecs_service.html#service_registries-1>. List can only have a single object until <https://github.com/terraform-providers/terraform-provider-aws/issues/9573> is resolved. Either provide container_name and container_port or port"
type = list(object({
registry_arn = string
container_name = string
container_port = number
port = number
container_name = optional(string)
container_port = optional(number)
port = optional(number)
}))
default = []
}
Expand Down

0 comments on commit c9c35bf

Please sign in to comment.