Skip to content

Terraform module for setting up a CloudFront-fronted S3 redirector. Redirect one URL to another.

License

Notifications You must be signed in to change notification settings

yaleman/aws_redirector_module

Repository files navigation

AWS Redirector

Makes an S3-hosted redirector, fronted by CloudFront.

Example Usage:

module redirector {
    source = "github.com/yaleman/aws_redirector_module"
    source_hostname = "redirectme.example.com"
    target_hostname = "github.com"
    replace_key_prefix_with = "yaleman/aws_redirector_module/"
}

This'll redirect redirectme.example.com to https://github.com/yaleman/aws_redirector_module/.

Outputs

Name Value
cert_domain_validation map of data about how to validate your certificate
cert_status Status of the ACM certificate

Changelog

  • 2022-04-04 - Updated to v4 aws terraform module

About

Terraform module for setting up a CloudFront-fronted S3 redirector. Redirect one URL to another.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages