amnk / dd2tf

Export DataDog configuration to Terraform
99 stars 39 forks source link

Allow using tags to select datadog resources #36

Open pratikmallya opened 3 years ago

pratikmallya commented 3 years ago

Users of datadog tend to organize their monitors using tags. It would be nice to have an option to use those tags to import just the ones that use that tag.

e.g.

DATADOG_API_KEY=xxx DATADOG_APP_KEY=xxx ./dd2tf monitors --tags 'team:blue'

would fetch all monitors tagged with team:blue