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.77k stars 9.12k forks source link

[New Resource]: AWS IoT Core Device Data Endpoint Security Policy #32310

Open JTaylor-myenergi opened 1 year ago

JTaylor-myenergi commented 1 year ago

Description

Allow the AWS accounts' IoT Core security policy to be set to a string value such as "IoTSecurityPolicy_TLS13_1_2_2022_10". The policies are pre-created by AWS and are documented here: https://docs.aws.amazon.com/iot/latest/developerguide/transport-security.html#tls-policy-table

This value may be relevant in the data source aws_iot_endpoint.

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

aws_iot_endpoint_security policy

Potential Terraform Configuration

resource "aws_iot_endpoint_security_policy" "default_policy" {
   security_policy = "IoTSecurityPolicy_TLS13_1_2_2022_10"
   domain_name     = "iot:Data"
}

References

https://docs.aws.amazon.com/iot/latest/developerguide/transport-security.html#tls-policy-table https://docs.aws.amazon.com/iot/latest/developerguide/iot-endpoints-tls-config.html

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