This module creates following resources.
aws_vpclattice_target_group
aws_vpclattice_target_group_attachment
(optional)
Name |
Source |
Version |
resource_group |
tedilabs/misc/aws//modules/resource-group |
~> 0.10.0 |
Name |
Description |
Type |
Default |
Required |
name |
(Required) The name of the target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen. |
string |
n/a |
yes |
protocol |
(Required) The protocol to use for routing traffic to the targets. Valid values are HTTP and HTTPS . |
string |
n/a |
yes |
vpc |
(Required) The ID of the VPC which the target group belongs to. |
string |
n/a |
yes |
module_tags_enabled |
(Optional) Whether to create AWS Resource Tags for the module informations. |
bool |
true |
no |
port |
(Optional) The port on which the target is listening. Valid values are from 1 to 65535 . 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 . |
number |
null |
no |
protocol_version |
(Optional) The protocol version. Valid Values are HTTP1 , HTTP2 and GRPC . Defaults to HTTP1 . |
string |
"HTTP1" |
no |
resource_group_description |
(Optional) The description of Resource Group. |
string |
"Managed by Terraform." |
no |
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 |
(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 |
(Optional) A map of tags to add to all resources. |
map(string) |
{} |
no |
targets |
(Optional) A list of targets to add to the target group. Support only single ALB as target. 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) alb - The Amazon Resource Name (ARN) of the target ALB (Application Load Balancer). The target should be internal Application Load Balancer. (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 that matches the port of your Application Load Balancer's listeners. |
list(object({ name = string alb = string port = optional(number) })) |
[] |
no |
timeouts |
(Optional) How long to wait for the target group to be created/deleted. |
object({ create = optional(string, "5m") delete = optional(string, "5m") }) |
{} |
no |
Name |
Description |
arn |
The ARN of the target group. |
id |
The ID of the target group. |
name |
The name of the target group. |
port |
The port on which the targets are listening. |
protocol |
The protocol to use for routing traffic to the targets. |
protocol_version |
The protocol version. |
status |
The status of the target group. |
targets |
The list of targets of the target group. name - The name of the target. This value is only used internally within Terraform code. alb - The Amazon Resource Name (ARN) of the target ALB (Application Load Balancer). port - The port on which the target is listening. |
type |
The type of target group. Always ALB . |
vpc |
The ID of the VPC which the target group belongs to. |