This Terraform deploys resources for my static website joshuakite.co.uk using my public terrafrom module, AWS S3 and Cloudfront with TLS and a public DNS entry together with a suitable ACM certificate and validation. The apex domain is aliased to the www subdomain. Subsequent website deployment uses Hugo
Name | Version |
---|---|
terraform | >= 1.2.0 |
aws | >= 4.2.0 |
Name | Version |
---|---|
aws | 5.9.0 |
Name | Source | Version |
---|---|---|
static-website-s3-cloudfront-acm | joshuamkite/static-website-s3-cloudfront-acm/aws | 2.2.0 |
Name | Type |
---|---|
aws_caller_identity.current | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
cloudfront_custom_error_responses | n/a | list(any) |
[ |
no |
domain_name | n/a | string |
"joshuakite.co.uk" |
no |
region | n/a | string |
"eu-west-2" |
no |
tags | n/a | map(string) |
{ |
no |
Name | Description |
---|---|
acm_certificate_id | n/a |
cloudfront_distribution_id | n/a |
cloudfront_domain_name | n/a |
s3_bucket_arn | n/a |
s3_bucket_id | n/a |
website_url | n/a |