AWS announced configurable Transport Layer Security Version for Custom Domains in AWS API Gateway
API Gateway
resource "aws_api_gateway_domain_name" "example" {
domain_name = "api.example.com"
regional_certificate_arn = "${aws_acm_certificate_validation.example.certificate_arn}"
security_policy = "TLSv1.2"
endpoint_configuration {
types = ["REGIONAL"]
}
}
Requires AWS SDK v1.20.7 via https://github.com/terraform-providers/terraform-provider-aws/pull/9084 (once it bumps).
Is #9084 bumped? (I'm not sure what that means!)
@ra-hardy I think when I wrote that comment Renovate Bot hadn't bumped the AWS SDK version in the then open PR. Anyway, the minimum required AWS SDK version is now merged; The functionality you required is implemented in https://github.com/terraform-providers/terraform-provider-aws/pull/9128 which has yet to be merged.
Support for the new security_policy argument for the aws_api_gateway_domain_name resource has been merged and will release with version 2.20.0 of the Terraform AWS Provider, later this week. 👍 Thanks to @stack72!
I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!
Most helpful comment
Support for the new
security_policyargument for theaws_api_gateway_domain_nameresource has been merged and will release with version 2.20.0 of the Terraform AWS Provider, later this week. 👍 Thanks to @stack72!