From 4baf36b3a6647a1714889aa9ccef716bda095322 Mon Sep 17 00:00:00 2001 From: "Byungjin Park (Claud)" Date: Sat, 26 Aug 2023 23:45:16 +0900 Subject: [PATCH] Remove the maximum of keepalive timeout value in distribution (#18) --- modules/distribution/variables.tf | 2 +- modules/distribution/versions.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/distribution/variables.tf b/modules/distribution/variables.tf index ee6a414..873df04 100644 --- a/modules/distribution/variables.tf +++ b/modules/distribution/variables.tf @@ -215,7 +215,7 @@ variable "custom_origins" { (Required) `region` - The AWS Region for Origin Shield. To specify a region. For example, specify the US East (Ohio) region as `us-east-2`. (Optional) `connection_attempts` - The number of times that CloudFront attempts to connect to the origin, from `1` to `3`. Defaults to `3`. (Optional) `connection_timeout` - The number of seconds that CloudFront waits for a response from the origin, from `1` to `10`. Defaults to `10`. - (Optional) `keepalive_timeout` - The number of seconds that CloudFront maintains an idle connection with the origin, from `1` to `60`. Defaults to `5`. + (Optional) `keepalive_timeout` - The number of seconds that CloudFront maintains an idle connection with the origin, from `1` to `60`. But, the maximum can be changed arbitrarily by AWS Support to a much higher value. Defaults to `5`. (Optional) `response_timeout` - The number of seconds that CloudFront waits for a response from the origin, from `1` to `60`. Defaults to `30`. EOF type = any diff --git a/modules/distribution/versions.tf b/modules/distribution/versions.tf index 1566320..a7d39f2 100644 --- a/modules/distribution/versions.tf +++ b/modules/distribution/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 4.27" + version = ">= 5.1" } } }