terraform-provider-datadog icon indicating copy to clipboard operation
terraform-provider-datadog copied to clipboard

datadog_integration_aws - allow filter_tags for all AWS services

Open ivanmartos opened this issue 1 year ago • 3 comments

What resources or data sources are affected?

datadog_integration_aws

Feature Request

Currently, based on documentation, resource datadog_integration_aws attribute filter_tags works for EC2 service only

https://registry.terraform.io/providers/DataDog/datadog/latest/docs/resources/integration_aws#filter_tags

Can this resource be extended to support all AWS services for functionality of filtering by tags? In DataDog console AWS integration page (under tab Metrics Collection) this option is specific per AWS service

References

No response

ivanmartos avatar Aug 31 '23 13:08 ivanmartos

Hi, @ivanmartos.

I think datadog_integration_aws_tag_filter can satisfy your requirements.

waneal avatar Sep 10 '23 13:09 waneal

I would like to upvote this. It would be good to have "EC2" as part of the options since EC2 is available in the Datadiog integration via the UI.

retskcud avatar Jan 05 '24 18:01 retskcud

So as I understand correctly, the following settings from the UI:

image

Map into 2 different resources now? EC2 is configured with datadog_integration_aws, while all the others are part of integration_aws_tag_filter.

Would be nice to have ec2 in the datadog_integration_aws_tag_filter as well and maybe even remove it from the datadog_integration_aws

fatbasstard avatar Jul 09 '24 11:07 fatbasstard