Data Source: aws_lbs

Use this data source to get a list of Load Balancer ARNs matching the specified criteria. Useful for passing to other resources.

Example Usage

Basic Usage

data "aws_lbs" "example" {
  tags = {
    "elbv2.k8s.aws/cluster" = "my-cluster"
  }
}

Argument Reference

The following arguments are optional:

Attribute Reference

This data source exports the following attributes in addition to the arguments above: