Resource: aws_vpclattice_target_group_attachment

Provides the ability to register a target with an AWS VPC Lattice Target Group.

Example Usage

Basic Usage

resource "aws_vpclattice_target_group_attachment" "example" {
  target_group_identifier = aws_vpclattice_target_group.example.id

  target {
    id   = aws_lb.example.arn
    port = 80
  }
}

Argument Reference

The following arguments are required:

target supports the following:

Attribute Reference

This resource exports no additional attributes.