Skip to content

Add filter to optional parameters for service definitions #2379

@KieranJamess

Description

@KieranJamess

Note:
If you have a feature request, you should contact support so the request can be properly tracked.

Is your feature request related to a problem? Please describe.
Point me to the right place If I've missed it as getting familiar with Go myself, but It would be super useful to add some supporting attributes to the service definition endpoint like you have on other endpoints so we can filter the service definitions.

The API Keys has an incredible amount of support, which allows a great amount of support in the terraform provider.
https://github.com/DataDog/datadog-api-client-go/blob/master/api/datadogV2/api_key_management.go
https://github.com/DataDog/terraform-provider-datadog/blob/master/datadog/fwprovider/data_source_datadog_api_key.go#L86

Describe the solution you'd like
The use case for us would be great to have filters to support getting all service definitions by team, tier, type, tag etc, combined or singular filter arguments.

Describe alternatives you've considered
Currently I have a powershell script in my Terraform code that uses the external provider to query the datadog API for all service definitions and filters though them by the filter passed in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions