From d04610041ca0e421877df80f60939574bc95d74f Mon Sep 17 00:00:00 2001 From: Byungjin Park Date: Fri, 22 Sep 2023 15:09:26 +0900 Subject: [PATCH] Fix typo --- modules/lattice-instance-target-group/README.md | 2 +- modules/lattice-instance-target-group/variables.tf | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/lattice-instance-target-group/README.md b/modules/lattice-instance-target-group/README.md index 504da5e..eab82d4 100644 --- a/modules/lattice-instance-target-group/README.md +++ b/modules/lattice-instance-target-group/README.md @@ -47,7 +47,7 @@ This module creates following resources. | [resource\_group\_enabled](#input\_resource\_group\_enabled) | (Optional) Whether to create Resource Group to find and group AWS resources which are created by this module. | `bool` | `true` | no | | [resource\_group\_name](#input\_resource\_group\_name) | (Optional) The name of Resource Group. A Resource Group name can have a maximum of 127 characters, including letters, numbers, hyphens, dots, and underscores. The name cannot start with `AWS` or `aws`. | `string` | `""` | no | | [tags](#input\_tags) | (Optional) A map of tags to add to all resources. | `map(string)` | `{}` | no | -| [targets](#input\_targets) | (Optional) A list of targets to add to the target group. Each value of `targets` block as defined below.
(Required) `name` - The name of the target. This value is only used internally within Terraform code.
(Required) `instance` - This is the Instance ID for an instance.
(Optional) `port` - The port on which the target is listening. If `port` is not specified and `protocol` is `HTTP`, the value will default to `80`. If `port` is not specified and `protocol` is `HTTPS`, the value will default to `443`.
(Optional) `port` - This port is used for routing traffic to the target, and defaults to the target group port. However, you can override the default and specify a custom port. |
list(object({
name = string
instance = string
port = optional(number)
}))
| `[]` | no | +| [targets](#input\_targets) | (Optional) A list of targets to add to the target group. Each value of `targets` block as defined below.
(Required) `name` - The name of the target. This value is only used internally within Terraform code.
(Required) `instance` - This is the Instance ID for an instance.
(Optional) `port` - This port is used for routing traffic to the target, and defaults to the target group port. However, you can override the default and specify a custom port. |
list(object({
name = string
instance = string
port = optional(number)
}))
| `[]` | no | | [timeouts](#input\_timeouts) | (Optional) How long to wait for the target group to be created/deleted. |
object({
create = optional(string, "5m")
delete = optional(string, "5m")
})
| `{}` | no | ## Outputs diff --git a/modules/lattice-instance-target-group/variables.tf b/modules/lattice-instance-target-group/variables.tf index 9c6ddf6..fd0b607 100644 --- a/modules/lattice-instance-target-group/variables.tf +++ b/modules/lattice-instance-target-group/variables.tf @@ -134,7 +134,6 @@ variable "targets" { (Optional) A list of targets to add to the target group. Each value of `targets` block as defined below. (Required) `name` - The name of the target. This value is only used internally within Terraform code. (Required) `instance` - This is the Instance ID for an instance. - (Optional) `port` - The port on which the target is listening. If `port` is not specified and `protocol` is `HTTP`, the value will default to `80`. If `port` is not specified and `protocol` is `HTTPS`, the value will default to `443`. (Optional) `port` - This port is used for routing traffic to the target, and defaults to the target group port. However, you can override the default and specify a custom port. EOF type = list(object({