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>"
}
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
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
References
AWS IoT Core detect documentation: Link
AWS IoT Core CLI command: Create Security Profile: Link
AWS IoT Core CLI command: Delete Security Profile: Link
AWS IoT Core CLI command: Attach Security Profile to target: Link
AWS IoT Core CLI command: Detach Security Profile from target: Link
Would you like to implement a fix?
No