diff --git a/terraform/deployments/chat/cloudfront.tf b/terraform/deployments/chat/cloudfront.tf index 855e15991..956e283c7 100644 --- a/terraform/deployments/chat/cloudfront.tf +++ b/terraform/deployments/chat/cloudfront.tf @@ -31,12 +31,6 @@ resource "aws_cloudfront_distribution" "chat_distribution" { domain_name = aws_s3_bucket.origin_service_disabled.bucket_regional_domain_name origin_access_control_id = aws_cloudfront_origin_access_control.govuk-chat.id origin_id = aws_s3_bucket.origin_service_disabled.id - custom_origin_config { - http_port = 80 - https_port = 443 - origin_protocol_policy = "https-only" - origin_ssl_protocols = ["TLSv1.2"] - } } enabled = var.cloudfront_enable