Skip to content

Latest commit

 

History

History

lattice-lambda-target-group

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

lattice-lambda-target-group

This module creates following resources.

  • aws_vpclattice_target_group
  • aws_vpclattice_target_group_attachment (optional)

Requirements

Name Version
terraform >= 1.5
aws >= 5.21

Providers

Name Version
aws 5.22.0

Modules

Name Source Version
resource_group tedilabs/misc/aws//modules/resource-group ~> 0.10.0

Resources

Name Type
aws_vpclattice_target_group.this resource
aws_vpclattice_target_group_attachment.this resource

Inputs

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
lambda_event_structure_version (Optional) The version of the event structure that the Lambda function receives. Valid values are V1 are V2. Defaults to V2. string "V2" no
module_tags_enabled (Optional) Whether to create AWS Resource Tags for the module informations. bool true 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. 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) lambda_function - The Amazon Resource Name (ARN) of the target Lambda function. If your ARN doesn't specify a version or alias, the latest version ($LATEST) is used by default. If the ARN specifies a version or alias, it appears as the last segment of the ARN separated by a colon.
list(object({
name = string
lambda_function = string
}))
[] 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

Outputs

Name Description
arn The ARN of the target group.
id The ID of the target group.
lambda_event_structure_version The version of the event structure that the Lambda function receives.
name The name of the target group.
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.
lambda_function - The Amazon Resource Name (ARN) of the target Lambda function.
type The type of target group. Always LAMBDA.