An open API service indexing awesome lists of open source software.

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.

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