Skip to content

Commit e6ce70f

Browse files
committed
feat: 6764: add cspm_resource_collection_enabled
1 parent 02c26a2 commit e6ce70f

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ resource "datadog_integration_aws" "core" {
1010
account_specific_namespace_rules = var.account_specific_namespace_rules
1111
excluded_regions = var.excluded_regions
1212
filter_tags = var.filter_tags
13+
resource_collection_enabled = true
14+
cspm_resource_collection_enabled = true
1315
}
1416

1517
# resource "datadog_integration_aws_tag_filter" "rds-tag-filters" {

vars.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@ variable "env" {
4747
type = string
4848
default = ""
4949
}
50+
variable "cspm_resource_collection_enabled" {
51+
description = "Whether Datadog collects cloud security posture management resources from your AWS account"
52+
type = string
53+
}
54+
variable "resource_collection_enabled" {
55+
description = "Whether Datadog collects a standard set of resources from your AWS account."
56+
type = string
57+
}
5058
variable "account_specific_namespace_rules" {
5159
description = "account_specific_namespace_rules argument for datadog_integration_aws resource"
5260
type = map(any)

0 commit comments

Comments
 (0)