title: aws_shield_protection Terraform
body: <p>I am struggling to find a way to include all load balancers with certain tag value's (e.g. Shield protection = ON) in an aws account.
  Currently i have a map of arn's in a variable and running a for loop. This method work's but not in an efficient way; since every time I have to add the ARN of a new Load balancer manually.</p>
  <pre><code>resource &quot;aws_shield_protection&quot; &quot;this&quot; {
    for_each = var.listofarn
  
    name         = &quot;shield protection&quot;.each.key
    resource_arn = each.key
  }
  
  variable listofarn {
    type = map(string)
    default = {
    appx_alb=&quot;arn::xxxxx&quot;
    appy_alb=&quot;arn:yyyyy&quot;
   }
  }
  </code></pre>
  <p>Is there a way to use data resource &quot;aws_lb&quot;.
  thanks.</p>