diff --git a/variables.tf b/variables.tf index d85840f..92da1e9 100644 --- a/variables.tf +++ b/variables.tf @@ -224,12 +224,12 @@ variable "hello_world_container_ports" { } variable "service_registries" { - description = "List of service registry objects as per . List can only have a single object until is resolved." + description = "List of service registry objects as per . List can only have a single object until 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 = [] }