From f3694935ed7e630c0258bd9f24548399f4dfe8c9 Mon Sep 17 00:00:00 2001 From: drew jess Date: Tue, 15 Dec 2020 19:01:19 +0000 Subject: [PATCH] add an example cloudwatch resource_arns() query that uses multiple tags (ref: #29499) (#29838) --- docs/sources/datasources/cloudwatch.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/sources/datasources/cloudwatch.md b/docs/sources/datasources/cloudwatch.md index 87b6962afef..d4109f50b90 100644 --- a/docs/sources/datasources/cloudwatch.md +++ b/docs/sources/datasources/cloudwatch.md @@ -278,6 +278,7 @@ Example dimension queries which will return list of resources for individual AWS | `dimension_values(us-east-1,AWS/S3,BucketSizeBytes,BucketName)` | S3 | | `dimension_values(us-east-1,CWAgent,disk_used_percent,device,{"InstanceId":"$instance_id"})` | CloudWatch Agent | | `resource_arns(eu-west-1,elasticloadbalancing:loadbalancer,{"elasticbeanstalk:environment-name":["myApp-dev","myApp-prod"]})` | ELB | +| `resource_arns(eu-west-1,elasticloadbalancing:loadbalancer,{"Component":["$service"],"Environment":["$environment"]})` | ELB | | `resource_arns(eu-west-1,ec2:instance,{"elasticbeanstalk:environment-name":["myApp-dev","myApp-prod"]})` | EC2 | ## ec2_instance_attribute examples