-
Notifications
You must be signed in to change notification settings - Fork 379
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
AWS integration included regions #2304
Comments
This would definitely make sense. |
+1 |
1 similar comment
+1 |
would be a great way to deal with new regions |
This would be great as we're currently getting perpetual drift trying to exclude the new |
Well, we just solve this inverted (Based on the regions from the OP): locals {
excluded_dd_regions = setsubtract(data.aws_regions.current.names, "us-east-1", "us-west-2")
}
data "aws_regions" "current" {
all_regions = true
}
resource "datadog_integration_aws" "default" {
excluded_regions = var.excluded_regions
} |
@danieljamesscott Noticed this as well. Created an issue for that behaviour: #2548 |
What resources or data sources are affected?
datadog_integration_aws
Feature Request
AWS regions to include from metrics collection.
The excluded_regions requires a list to be maintained and does not automatically exclude data collection on a new AWS region.
Example of usage:
resource "datadog_integration_aws" "sandbox" {
account_id = "1234567890"
role_name = "DatadogAWSIntegrationRole"
filter_tags = ["key:value"]
host_tags = ["key:value", "key2:value2"]
account_specific_namespace_rules = {
auto_scaling = false
opsworks = false
}
included_regions = ["us-east-1", "us-west-2"]
}
References
No response
The text was updated successfully, but these errors were encountered: