Use this data source to get a list of Load Balancer ARNs matching the specified criteria. Useful for passing to other resources.
data "aws_lbs" "example" {
tags = {
"elbv2.k8s.aws/cluster" = "my-cluster"
}
}
The following arguments are optional:
tags
- (Optional) Map of tags, each pair of which must exactly match
a pair on the desired Load Balancers.This data source exports the following attributes in addition to the arguments above:
arns
- Set of Load Balancer ARNs.