Skip to content

Commit b6ba3b1

Browse files
Co-authored-by: docs-sourcer[bot] <99042413+docs-sourcer[bot]@users.noreply.github.com>
1 parent 45de895 commit b6ba3b1

File tree

3 files changed

+42
-42
lines changed

3 files changed

+42
-42
lines changed

docs/reference/modules/terraform-aws-static-assets/cloudfront/cloudfront.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx';
99
import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx';
1010
import { ModuleUsage } from "../../../../../src/components/ModuleUsage";
1111

12-
<VersionBadge repoTitle="Static Assets Modules" version="0.20.1" lastModifiedVersion="0.20.1"/>
12+
<VersionBadge repoTitle="Static Assets Modules" version="0.20.2" lastModifiedVersion="0.20.1"/>
1313

1414
# CloudFront Module
1515

16-
<a href="https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.1/modules/cloudfront" className="link-button" title="View the source code for this module in GitHub.">View Source</a>
16+
<a href="https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.2/modules/cloudfront" className="link-button" title="View the source code for this module in GitHub.">View Source</a>
1717

1818
<a href="https://github.com/gruntwork-io/terraform-aws-static-assets/releases/tag/v0.20.1" className="link-button" title="Release notes for only versions which impacted this module.">Release Notes</a>
1919

2020
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.
2121

2222
## Quick Start
2323

24-
* See the [cloudfront-custom-origin](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.1/examples/cloudfront-custom-origin) example for working sample code.
25-
* Check out [vars.tf](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.1/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.2/examples/cloudfront-custom-origin) example for working sample code.
25+
* Check out [vars.tf](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.2/modules/cloudfront/vars.tf) for all parameters you can set for this module.
2626

2727
## Sample Usage
2828

@@ -37,7 +37,7 @@ This module deploys an [AWS CloudFront](https://aws.amazon.com/cloudfront/) dist
3737
3838
module "cloudfront" {
3939
40-
source = "git::[email protected]:gruntwork-io/terraform-aws-static-assets.git//modules/cloudfront?ref=v0.20.1"
40+
source = "git::[email protected]:gruntwork-io/terraform-aws-static-assets.git//modules/cloudfront?ref=v0.20.2"
4141
4242
# ----------------------------------------------------------------------------------------------------
4343
# REQUIRED VARIABLES
@@ -316,7 +316,7 @@ module "cloudfront" {
316316
# ------------------------------------------------------------------------------------------------------
317317
318318
terraform {
319-
source = "git::[email protected]:gruntwork-io/terraform-aws-static-assets.git//modules/cloudfront?ref=v0.20.1"
319+
source = "git::[email protected]:gruntwork-io/terraform-aws-static-assets.git//modules/cloudfront?ref=v0.20.2"
320320
}
321321
322322
inputs = {
@@ -2736,11 +2736,11 @@ Unique identifier that specifies the AWS WAF web ACL, if any, to associate with
27362736
<!-- ##DOCS-SOURCER-START
27372737
{
27382738
"originalSources": [
2739-
"https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.1/modules/cloudfront/readme.md",
2740-
"https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.1/modules/cloudfront/variables.tf",
2741-
"https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.1/modules/cloudfront/outputs.tf"
2739+
"https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.2/modules/cloudfront/readme.md",
2740+
"https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.2/modules/cloudfront/variables.tf",
2741+
"https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.2/modules/cloudfront/outputs.tf"
27422742
],
27432743
"sourcePlugin": "module-catalog-api",
2744-
"hash": "bd6dd061f03f5a036b9777ce67f6dd6b"
2744+
"hash": "d7dd1e096b8b66fd45c1af6c02d60672"
27452745
}
27462746
##DOCS-SOURCER-END -->

docs/reference/modules/terraform-aws-static-assets/s3-cloudfront/s3-cloudfront.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,25 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx';
99
import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx';
1010
import { ModuleUsage } from "../../../../../src/components/ModuleUsage";
1111

12-
<VersionBadge repoTitle="Static Assets Modules" version="0.20.1" lastModifiedVersion="0.18.5"/>
12+
<VersionBadge repoTitle="Static Assets Modules" version="0.20.2" lastModifiedVersion="0.18.5"/>
1313

1414
# S3 CloudFront Module
1515

16-
<a href="https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.1/modules/s3-cloudfront" className="link-button" title="View the source code for this module in GitHub.">View Source</a>
16+
<a href="https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.2/modules/s3-cloudfront" className="link-button" title="View the source code for this module in GitHub.">View Source</a>
1717

1818
<a href="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>
1919

2020
This module deploys a [CloudFront](https://aws.amazon.com/cloudfront/) distribution as a Content Distribution Network
2121
(CDN) in front of an [S3 bucket](https://aws.amazon.com/s3/). This reduces latency for your users, by caching your
2222
static content in servers around the world. It also allows you to use SSL with the static content in an S3 bucket.
2323

24-
See the [s3-static-website module](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.1/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.2/modules/s3-static-website) for how to deploy static content in an S3 bucket.
2525

2626
## Quick Start
2727

28-
* See the [cloudfront-s3-public](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.1/examples/cloudfront-s3-public) and
29-
[cloudfront-s3-private](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.1/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.1/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.2/examples/cloudfront-s3-public) and
29+
[cloudfront-s3-private](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.2/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.2/modules/s3-cloudfront/vars.tf) for all parameters you can set for this module.
3131

3232
## Public vs private S3 buckets
3333

@@ -130,7 +130,7 @@ most use cases, but is not particularly flexible. In particular, the limitations
130130
* Only one default cache behavior is supported
131131
([cache behaviors](https://www.terraform.io/docs/providers/aws/r/cloudfront_distribution.html#cache-behavior-arguments)
132132
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.1/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.2/modules/s3-cloudfront/vars.tf) for the full list).
134134

135135
* Only two error responses are supported
136136
([error responses](https://www.terraform.io/docs/providers/aws/r/cloudfront_distribution.html#custom-error-response-arguments)
@@ -162,7 +162,7 @@ into your own codebase, using it as a guide, and adding the tweaks you need.
162162
163163
module "s_3_cloudfront" {
164164
165-
source = "git::[email protected]:gruntwork-io/terraform-aws-static-assets.git//modules/s3-cloudfront?ref=v0.20.1"
165+
source = "git::[email protected]:gruntwork-io/terraform-aws-static-assets.git//modules/s3-cloudfront?ref=v0.20.2"
166166
167167
# ----------------------------------------------------------------------------------------------------
168168
# REQUIRED VARIABLES
@@ -479,7 +479,7 @@ module "s_3_cloudfront" {
479479
# ------------------------------------------------------------------------------------------------------
480480
481481
terraform {
482-
source = "git::[email protected]:gruntwork-io/terraform-aws-static-assets.git//modules/s3-cloudfront?ref=v0.20.1"
482+
source = "git::[email protected]:gruntwork-io/terraform-aws-static-assets.git//modules/s3-cloudfront?ref=v0.20.2"
483483
}
484484
485485
inputs = {
@@ -1517,11 +1517,11 @@ If you have specified whitelist in <a href="#forward_cookies"><code>forward_cook
15171517
<!-- ##DOCS-SOURCER-START
15181518
{
15191519
"originalSources": [
1520-
"https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.1/modules/s3-cloudfront/readme.md",
1521-
"https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.1/modules/s3-cloudfront/variables.tf",
1522-
"https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.1/modules/s3-cloudfront/outputs.tf"
1520+
"https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.2/modules/s3-cloudfront/readme.md",
1521+
"https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.2/modules/s3-cloudfront/variables.tf",
1522+
"https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.2/modules/s3-cloudfront/outputs.tf"
15231523
],
15241524
"sourcePlugin": "module-catalog-api",
1525-
"hash": "900d26ad3cbc624ea2945f9934d56801"
1525+
"hash": "7dfa78c1c5d8fec225653b73c8d5cca7"
15261526
}
15271527
##DOCS-SOURCER-END -->

docs/reference/modules/terraform-aws-static-assets/s3-static-website/s3-static-website.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx';
99
import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx';
1010
import { ModuleUsage } from "../../../../../src/components/ModuleUsage";
1111

12-
<VersionBadge repoTitle="Static Assets Modules" version="0.20.1" lastModifiedVersion="0.20.1"/>
12+
<VersionBadge repoTitle="Static Assets Modules" version="0.20.2" lastModifiedVersion="0.20.2"/>
1313

1414
# S3 Static Website
1515

16-
<a href="https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.1/modules/s3-static-website" className="link-button" title="View the source code for this module in GitHub.">View Source</a>
16+
<a href="https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.2/modules/s3-static-website" className="link-button" title="View the source code for this module in GitHub.">View Source</a>
1717

18-
<a href="https://github.com/gruntwork-io/terraform-aws-static-assets/releases/tag/v0.20.1" className="link-button" title="Release notes for only versions which impacted this module.">Release Notes</a>
18+
<a href="https://github.com/gruntwork-io/terraform-aws-static-assets/releases/tag/v0.20.2" className="link-button" title="Release notes for only versions which impacted this module.">Release Notes</a>
1919

2020
This module creates an AWS S3 bucket that can be used to host a static website. That is, the website can contain static HTML, CSS, JS, and images.
2121

@@ -29,39 +29,39 @@ This module creates an AWS S3 bucket that can be used to host a static website.
2929

3030
* Optionally configure a custom domain name for the website.
3131

32-
* Optionally deploy a CDN in front of S3 using the [s3-cloudfront module](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.1/modules/s3-cloudfront).
32+
* Optionally deploy a CDN in front of S3 using the [s3-cloudfront module](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.2/modules/s3-cloudfront).
3333

3434
## Learn
3535

3636
The reason to serve static content from S3 rather than from your own app server is that it can significantly reduce the load on your server, allowing it to solely focus on serving dynamic data. This will save you money and make your website run faster. For even bigger improvements in performance, consider deploying a CloudFront Content Distribution Network (CDN) in front of the S3 bucket using the s3-cloudfront module.
3737

3838
### Core concepts
3939

40-
* [Quick Start](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.1/modules/s3-static-website/core-concepts.md#quick-start)
40+
* [Quick Start](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.2/modules/s3-static-website/core-concepts.md#quick-start)
4141

42-
* [How to test the website](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.1/modules/s3-static-website/core-concepts.md#how-to-test-the-website)
42+
* [How to test the website](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.2/modules/s3-static-website/core-concepts.md#how-to-test-the-website)
4343

44-
* [How to configure HTTPS (SSL) or a CDN?](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.1/modules/s3-static-website/core-concepts.md#how-to-configure-http)
44+
* [How to configure HTTPS (SSL) or a CDN?](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.2/modules/s3-static-website/core-concepts.md#how-to-configure-http)
4545

46-
* [How to handle www + root domains](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.1/modules/s3-static-website/core-concepts.md#how-to-handle)
46+
* [How to handle www + root domains](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.2/modules/s3-static-website/core-concepts.md#how-to-handle)
4747

48-
* [How do I configure Cross Origin Resource Sharing (CORS)?](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.1/modules/s3-static-website/core-concepts.md#how-do-i-configure-cross-origin-resource-sharing-cors)
48+
* [How do I configure Cross Origin Resource Sharing (CORS)?](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.2/modules/s3-static-website/core-concepts.md#how-do-i-configure-cross-origin-resource-sharing-cors)
4949

5050
### Repo organization
5151

52-
* [modules](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.1/modules): The main implementation code for this repo, broken down into multiple standalone, orthogonal submodules.
52+
* [modules](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.2/modules): The main implementation code for this repo, broken down into multiple standalone, orthogonal submodules.
5353

54-
* [examples](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.1/examples): This folder contains working examples of how to use the submodules.
54+
* [examples](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.2/examples): This folder contains working examples of how to use the submodules.
5555

56-
* [test](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.1/test): Automated tests for the modules and examples.
56+
* [test](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.2/test): Automated tests for the modules and examples.
5757

5858
## Deploy
5959

6060
### Non-production deployment (quick start for learning)
6161

6262
If you just want to try this repo out for experimenting and learning, check out the following resources:
6363

64-
* [Examples folder](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.1/examples): The `examples` folder contains sample code optimized for learning, experimenting, and testing (but not production usage).
64+
* [Examples folder](https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.2/examples): The `examples` folder contains sample code optimized for learning, experimenting, and testing (but not production usage).
6565

6666
### Production deployment
6767

@@ -82,7 +82,7 @@ If you want to deploy this repo in production, check out the following resources
8282
8383
module "s_3_static_website" {
8484
85-
source = "git::[email protected]:gruntwork-io/terraform-aws-static-assets.git//modules/s3-static-website?ref=v0.20.1"
85+
source = "git::[email protected]:gruntwork-io/terraform-aws-static-assets.git//modules/s3-static-website?ref=v0.20.2"
8686
8787
# ----------------------------------------------------------------------------------------------------
8888
# REQUIRED VARIABLES
@@ -267,7 +267,7 @@ module "s_3_static_website" {
267267
# ------------------------------------------------------------------------------------------------------
268268
269269
terraform {
270-
source = "git::[email protected]:gruntwork-io/terraform-aws-static-assets.git//modules/s3-static-website?ref=v0.20.1"
270+
source = "git::[email protected]:gruntwork-io/terraform-aws-static-assets.git//modules/s3-static-website?ref=v0.20.2"
271271
}
272272
273273
inputs = {
@@ -859,11 +859,11 @@ A value that can be used to chain resources to depend on the website bucket bein
859859
<!-- ##DOCS-SOURCER-START
860860
{
861861
"originalSources": [
862-
"https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.1/modules/s3-static-website/readme.adoc",
863-
"https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.1/modules/s3-static-website/variables.tf",
864-
"https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.1/modules/s3-static-website/outputs.tf"
862+
"https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.2/modules/s3-static-website/readme.adoc",
863+
"https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.2/modules/s3-static-website/variables.tf",
864+
"https://github.com/gruntwork-io/terraform-aws-static-assets/tree/v0.20.2/modules/s3-static-website/outputs.tf"
865865
],
866866
"sourcePlugin": "module-catalog-api",
867-
"hash": "53ce1c75cb0ad53828ac9fafef576fb6"
867+
"hash": "75aa01f8a102d63f4f3aed19bfd7455a"
868868
}
869869
##DOCS-SOURCER-END -->

0 commit comments

Comments
 (0)