Skip to content

Commit a5dacaf

Browse files
committed
examples: Rename custom domain example
1 parent 28d6633 commit a5dacaf

File tree

7 files changed

+12
-5
lines changed

7 files changed

+12
-5
lines changed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,16 @@ You can create a `.terraformignore` in the root of your project and add the foll
175175

176176
## Examples
177177

178-
- [Complete](https://github.com/dealmore/terraform-aws-next-js/blob/main/examples/complete) - Complete example with SSR, API and static pages.
179-
- [Static](https://github.com/dealmore/terraform-aws-next-js/blob/main/examples/static) - Example that uses static pages only (No SSR).
180-
- [Custom Domain](https://github.com/dealmore/terraform-aws-next-js/blob/main/examples/custom-domain) - Demonstrates how to use the module with a custom domain from Route 53.
178+
- [Complete](https://github.com/dealmore/terraform-aws-next-js/blob/main/examples/complete)
179+
Complete example with SSR, API and static pages.
180+
- [Static](https://github.com/dealmore/terraform-aws-next-js/blob/main/examples/static)
181+
Example that uses static pages only (No SSR).
182+
- [Next Image](https://github.com/dealmore/terraform-aws-next-js/blob/main/examples/next-image)
183+
Images are optimized on the fly by AWS Lambda.
184+
- [Existing CloudFront](https://github.com/dealmore/terraform-aws-next-js/blob/main/examples/with-existing-cloudfront)
185+
Use the module together with an existing CloudFront distribution that can be fully customized.
186+
- [Custom Domain](https://github.com/dealmore/terraform-aws-next-js/blob/main/examples/with-custom-domain)
187+
Use the module with your own domain from Route 53.
181188

182189
<!-- prettier-ignore-start -->
183190
<!--- BEGIN_TF_DOCS --->
File renamed without changes.

examples/custom-domain/README.md renamed to examples/with-custom-domain/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ The code is based on the [with existing CloudFront distribution example](https:/
99
- Provisions a free SSL certificate from the AWS Certificate Manager for the domain
1010
- Assigns the domain and the SSL certificate to the CloudFront distribution
1111

12-
> **Note:** You can find the full example code on [GitHub](https://github.com/dealmore/terraform-aws-next-js/tree/main/examples/custom-domain).
12+
> **Note:** You can find the full example code on [GitHub](https://github.com/dealmore/terraform-aws-next-js/tree/main/examples/with-custom-domain).
1313
1414
## Setup
1515

1616
Download the files from the example app:
1717

1818
```sh
19-
yarn create next-app --example https://github.com/dealmore/terraform-aws-next-js/tree/main/examples/custom-domain my-app
19+
yarn create next-app --example https://github.com/dealmore/terraform-aws-next-js/tree/main/examples/with-custom-domain my-app
2020

2121
cd my-app
2222
```
File renamed without changes.

0 commit comments

Comments
 (0)