Skip to content

Commit

Permalink
Add CSPM collection option
Browse files Browse the repository at this point in the history
  • Loading branch information
sdickenson committed Feb 8, 2023
1 parent 38909e5 commit 3cff030
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ resource "datadog_api_key" "datadog" {
resource "datadog_integration_aws" "datadog" {
account_id = local.account_id
account_specific_namespace_rules = merge( var.integration_default_namespace_rules, var.integration_namespace_rules )
cspm_resource_collection_enabled = var.cspm_resource_collection_enabled
excluded_regions = var.integration_excluded_regions
filter_tags = var.integration_filter_tags
host_tags = var.integration_host_tags
Expand Down
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ variable "cloudtrail_buckets" {
type = list(string)
}

variable "cspm_resource_collection_enabled" {
default = "false"
description = "Whether Datadog collects cloud security posture management resources from your AWS account. This includes additional resources not covered under the general resource_collection."
type = string
}

variable "datadog_account_id" {
default = "464622532012"
description = "DataDog AWS account ID (should not need changed)"
Expand Down

0 comments on commit 3cff030

Please sign in to comment.