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" } } }