You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<ahref="https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.3/modules/cloudfront"className="link-button"title="View the source code for this module in GitHub.">View Source</a>
16
+
<ahref="https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.4/modules/cloudfront"className="link-button"title="View the source code for this module in GitHub.">View Source</a>
17
17
18
-
<ahref="https://github.com/gruntwork-io/terraform-aws-static-assets/releases/tag/v0.20.3"className="link-button"title="Release notes for only versions which impacted this module.">Release Notes</a>
18
+
<ahref="https://github.com/gruntwork-io/terraform-aws-static-assets/releases/tag/v0.20.4"className="link-button"title="Release notes for only versions which impacted this module.">Release Notes</a>
19
19
20
20
This module deploys an [AWS CloudFront](https://aws.amazon.com/cloudfront/) distribution to serve content from S3 or custom origins. CloudFront is a Content Delivery Network (CDN) that caches your content at edge locations around the world to reduce latency and improve performance for your users.
21
21
22
22
## Quick Start
23
23
24
-
* See the [cloudfront-custom-origin](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.3/examples/cloudfront) example for working sample code.
25
-
* Check out [vars.tf](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.3/modules/cloudfront/vars.tf) for all parameters you can set for this module.
24
+
* See the [cloudfront-custom-origin](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.4/examples/cloudfront) example for working sample code.
25
+
* Check out [vars.tf](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.4/modules/cloudfront/vars.tf) for all parameters you can set for this module.
26
26
27
27
## Sample Usage
28
28
@@ -37,7 +37,7 @@ This module deploys an [AWS CloudFront](https://aws.amazon.com/cloudfront/) dist
continuous deployment policy. This argument should only be set on a production distribution. See the aws_cloudfront_continuous_deployment_policy resource for additional details.
1956
+
continuous deployment policy. This argument should only be set on a STAGING distribution. See the aws_cloudfront_continuous_deployment_policy resource for additional details.
1945
1957
1946
1958
</HclListItemDescription>
1947
1959
<HclListItemTypeDetails>
1948
1960
1949
1961
```hcl
1950
1962
object({
1951
-
# Flag to enable continuous deployment policy.
1952
-
is_continuous_deployment_policy_enabled = bool
1953
-
1954
-
# CloudFront domain name of the staging distribution.
The ID of the continuous deployment policy to associate with the distribution. This argument should only be set on a production distribution. See the aws_cloudfront_continuous_deployment_policy resource for additional details.
<ahref="https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.3/modules/s3-cloudfront"className="link-button"title="View the source code for this module in GitHub.">View Source</a>
16
+
<ahref="https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.4/modules/s3-cloudfront"className="link-button"title="View the source code for this module in GitHub.">View Source</a>
17
17
18
18
<ahref="https://github.com/gruntwork-io/terraform-aws-static-assets/releases/tag/v0.18.5"className="link-button"title="Release notes for only versions which impacted this module.">Release Notes</a>
19
19
20
20
This module deploys a [CloudFront](https://aws.amazon.com/cloudfront/) distribution as a Content Distribution Network
21
21
(CDN) in front of an [S3 bucket](https://aws.amazon.com/s3/). This reduces latency for your users, by caching your
22
22
static content in servers around the world. It also allows you to use SSL with the static content in an S3 bucket.
23
23
24
-
See the [s3-static-website module](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.3/modules/s3-static-website) for how to deploy static content in an S3 bucket.
24
+
See the [s3-static-website module](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.4/modules/s3-static-website) for how to deploy static content in an S3 bucket.
25
25
26
26
## Quick Start
27
27
28
-
* See the [cloudfront-s3-public](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.3/examples/cloudfront-s3-public) and
29
-
[cloudfront-s3-private](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.3/examples/cloudfront-s3-private) examples for working sample code.
30
-
* Check out [vars.tf](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.3/modules/s3-cloudfront/vars.tf) for all parameters you can set for this module.
28
+
* See the [cloudfront-s3-public](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.4/examples/cloudfront-s3-public) and
29
+
[cloudfront-s3-private](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.4/examples/cloudfront-s3-private) examples for working sample code.
30
+
* Check out [vars.tf](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.4/modules/s3-cloudfront/vars.tf) for all parameters you can set for this module.
31
31
32
32
## Public vs private S3 buckets
33
33
@@ -130,7 +130,7 @@ most use cases, but is not particularly flexible. In particular, the limitations
is an inline block). You can control the default cache settings using a number of parameters, including
133
-
`cached_methods`, `default_ttl`, `min_ttl`, `max_ttl`, and many others (see [vars.tf](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.3/modules/s3-cloudfront/vars.tf) for the full list).
133
+
`cached_methods`, `default_ttl`, `min_ttl`, `max_ttl`, and many others (see [vars.tf](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.4/modules/s3-cloudfront/vars.tf) for the full list).
0 commit comments