Aws_lb - retrieve all ALB ARN's


I am trying to retrieve all ALB ARN’s to use within aws_wafv2 resource but struggling on a way to do this.

aws_lb data source is limited to return one result as per:

I can gather the ALBs with bash but I am unsure how to use the results within terraform…

Any ideas anyone?


bump! anyone got any ideas :slight_smile: