-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Support for Filtering AWS Namespaces #568
Comments
I'm interested in working on this |
This repository uses |
Hi @johnkost I've talked to the backend team about that, it's on them to produce the API spec for their endpoint. Once we have that, we can autogenerate the client and add the feature to Terraform. I unfortunately don't have a timeline currently :/ |
Thanks for checking. I'll keep an eye out on the client. |
@johnkost, looks like the the dependent changes have been merged in (see DataDog/datadog-api-client-go#589) and vendored (see #773). Are you still interested in contributing the changes to the provider? |
Yes I am. I'll go ahead and start working on it |
I looked into this over the weekend and I don't think the provider is the right place for this to live. It should be done by the API. The provider is currently setting the mapping it has of I think we should open up a bug/feature request with DataDog and ask them to fix/modify their API rather than try and shim this in to the provider. What are your thoughts? |
@johnkost I think there might be a confusion between For example, below would collect data on
Whereas if we were to apply the following, no
So ultimately, What do you think? |
Ah - that makes sense. Thanks for clarifying 😄 I can take a stab at this over the weekend/next week |
Community Note
Description
Add support for filtering AWS namespaces (e.g. Lambda) using tags. It's currently only possible to limit resource collection using tags for Lambdas in the UI or through an undocumented API /api/v1/integration/aws/filtering. For organizations with a large number of Datadog accounts, limited resource collection by requiring an opt-in tag makes it a lot easier to manage Datadog costs. Making changes across a large number of Datadog accounts is tedious. Filters should be configurable with Terraform.
New or Affected Resource(s)
datadog_integration_aws_filters
or
filters
block insidedatadog_integration_aws
resourcePotential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: