hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.74k stars 9.1k forks source link

[New Resource]: - IoT Core Defender Security Profile #32455

Open chapost1 opened 1 year ago

chapost1 commented 1 year ago

Description

We kindly request the addition of a new resource called "aws_iot_security_profile" to the Terraform AWS Provider. This resource will enable us to manage security profiles within AWS IoT Core for behavior detection and management.

Note: It should be attachable to certain thing group, so maybe it should come along with some relevant attachment resource.

Requested Resource(s) and/or Data Source(s)

aws_iot_security_profile

aws_iot_security_profile_target

Potential Terraform Configuration

# This is just an example

resource "aws_iot_security_profile" "example" {
  name        = "<value>"
  description = "<value>"
  behaviors   = ["<value>"]

  alert_targets {
    sns_target {
      target_arn = "<value>"
    }
  }

  additional_metrics_to_retain = ["<value1>", "<value2>"]
  additional_metrics_to_retain_v2 = ["<value3>", "<value4>"]

  tags = {
    Key   = "Value"
    Key2  = "Value2"
  }
}

resource "aws_iot_security_profile_target" "example" {
  security_profile_name = aws_iot_security_profile.example.name
  target_arn            = "<value>"
}

References

Would you like to implement a fix?

No

github-actions[bot] commented 1 year ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue