Skip to content

deployment using my terraform module for Static https website using AWS S3; Cloudfront; ACM; TLS; public DNS entries.

Notifications You must be signed in to change notification settings

joshuamkite/terraform-aws-static-website-s3-cloudfront-acm-joshuakite.co.uk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-aws-static-website-s3-cloudfront-joshuakite.co.uk

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

N.B. S3 Backend not committed to public repo for security reasons

Requirements

Name Version
terraform >= 1.2.0
aws >= 4.2.0

Providers

Name Version
aws 5.9.0

Modules

Name Source Version
static-website-s3-cloudfront-acm joshuamkite/static-website-s3-cloudfront-acm/aws 2.2.0

Resources

Name Type
aws_caller_identity.current data source

Inputs

Name Description Type Default Required
cloudfront_custom_error_responses n/a list(any)
[
{
"error_caching_min_ttl": 10,
"error_code": 403,
"response_code": 404,
"response_page_path": "/404.html"
},
{
"error_caching_min_ttl": 10,
"error_code": 404,
"response_code": 404,
"response_page_path": "/404.html"
}
]
no
domain_name n/a string "joshuakite.co.uk" no
region n/a string "eu-west-2" no
tags n/a map(string)
{
"Environment": "Test",
"Owner": "Joshua",
"Project": "personal website",
"module_repo": "git@github.com:joshuamkite/terraform-aws-static-website-s3-cloudfront-acm.git",
"plan_repo": "git@github.com:joshuamkite/terraform-aws-static-website-s3-cloudfront-acm-joshuakite.co.uk.git"
}
no

Outputs

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

About

deployment using my terraform module for Static https website using AWS S3; Cloudfront; ACM; TLS; public DNS entries.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages