Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 353 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 353 Bytes

S3 301 Redirect

Easily create a 301 redirect using an S3 bucket and a Route53 A record.

module "www_redirect" {
  source  = "JamesBelchamber/s3-301-redirect/aws"
  zone_id = "${aws_route53_zone.yourzone_com.zone_id}"
  name    = "${aws_route53_zone.yourzone_com.name}"
  target  = "www.${aws_route53_zone.yourzone_com.name}"
}