Skip to content

Commit 1853c5b

Browse files
committed
fix: Update README
1 parent f9b4bfe commit 1853c5b

File tree

1 file changed

+5
-23
lines changed

1 file changed

+5
-23
lines changed

examples/complete/README.md

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Complete CloudFront distribution with most of supported features enabled
1+
# Complete CloudFront Distribution
22

33
Configuration in this directory creates CloudFront distribution which demos such capabilities:
44

@@ -8,38 +8,20 @@ Configuration in this directory creates CloudFront distribution which demos such
88
- Origin Access Identities (with S3 bucket policy)
99
- Origin Access Control (recommended over OAI)
1010
- Lambda@Edge
11-
- **CloudFront Functions** (lightweight JavaScript execution at edge locations)
11+
- CloudFront Functions
1212
- Response Headers Policies
1313
- ACM certificate
1414
- Route53 record
1515
- VPC Origins
1616

17-
## CloudFront Functions
18-
19-
This example demonstrates CloudFront Functions integration with the module:
20-
21-
**Functions included:**
22-
23-
- `viewer-request-security.js` - Security headers and cache key normalization
24-
- `viewer-response-headers.js` - Add security response headers
25-
- `ab-testing.js` - A/B testing with path rewriting
26-
- `kvstore-redirect.js` - Example with CloudFront KeyValueStore integration (commented)
27-
28-
**Features demonstrated:**
29-
30-
- Module-managed CloudFront Functions creation
31-
- Function association with cache behaviors
32-
- Runtime selection (cloudfront-js-2.0)
33-
- KeyValueStore association pattern
34-
3517
## Usage
3618

3719
To run this example you need to execute:
3820

3921
```bash
40-
$ terraform init
41-
$ terraform plan
42-
$ terraform apply
22+
terraform init
23+
terraform plan
24+
terraform apply
4325
```
4426

4527
Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources.

0 commit comments

Comments
 (0)