https://github.com/nullstone-modules/aws-s3-cdn
Nullstone module to create a CDN using AWS CloudFront.
https://github.com/nullstone-modules/aws-s3-cdn
aws cdn cloudfront nullstone terraform terraform-module
Last synced: 4 months ago
JSON representation
Nullstone module to create a CDN using AWS CloudFront.
- Host: GitHub
- URL: https://github.com/nullstone-modules/aws-s3-cdn
- Owner: nullstone-modules
- Created: 2020-08-21T13:09:34.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-11-11T23:52:32.000Z (7 months ago)
- Last Synced: 2026-01-30T14:55:51.159Z (4 months ago)
- Topics: aws, cdn, cloudfront, nullstone, terraform, terraform-module
- Language: HCL
- Homepage:
- Size: 71.3 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# CDN for S3 Site
Creates an AWS CloudFront Distribution (CDN) with an SSL Certificate against a subdomain created as another block.
## Inputs
- `enable_www: bool` - (Default: true) Enable/Disable creating www. DNS record
in addition to DNS record for site hosted on CDN
- `enable_404page: bool` - (Default: false) Enable/Disable custom 404 page within s3 bucket. If enabled, bucket must contain 404.html.
## Outputs
- `cdn_arn: string` - CloudFront Distribution ARN
- `cert_arn: string` - SSL Certificate ARN