Skip to content

Spechal/terraform-aws-s3-301-redirect

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

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}"
}

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HCL 100.0%