A Terraform module for creating static websites.
Name | Type |
---|---|
aws_acm_certificate.certificate | resource |
aws_acm_certificate_validation.certificate_validation | resource |
aws_cloudfront_distribution.distribution | resource |
aws_route53_record.certificate_validation | resource |
aws_route53_record.dns_record_root | resource |
aws_route53_record.dns_record_www | resource |
aws_s3_bucket.s3_logs | resource |
aws_s3_bucket.s3_root | resource |
aws_region.current | data source |
aws_route53_zone.hosted_zone | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
domain_name | The domain name of the website. This domain name must be purchased through Amazon Route 53. The domain name should be of the form: domain.tld . |
string |
n/a | yes |
Name | Description |
---|---|
cf_distribution_id | The identifier for the CloudFront distribution |
s3_root_id | The name of the root S3 bucket |