Skip to content

Commit

Permalink
Rename repo (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
osterman authored Sep 20, 2017
1 parent 055248b commit 679fbf9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# tf_vanity
# terraform-aws-route53-alias

Terraform Module that implements "vanity" host names (e.g. `brand.com`) as `ALIAS` records to an another Route53 DNS resource record (e.g. ELB/ALB, or CloudFront Distribution).
Terraform Module to that implements "vanity" host names (e.g. `brand.com`) as `ALIAS` records to another Route53 DNS resource record (e.g. ELB/ALB, S3 Bucket Endpoint or CloudFront Distribution).
Unlike `CNAME` records, the synthetic `ALIAS` record works with zone apexes.

## Usage

This will define a `A` resource record for `www.example.com` as an alias of the `aws_elb.example.dns_name`.

```terraform
module "production_www" {
source = "git::https://github.com/cloudposse/tf_vanity.git?ref=master"
source = "git::https://github.com/cloudposse/terraform-aws-route53-alias.git?ref=master"
aliases = ["www.example.com.", "static1.cdn.example.com.", "static2.cdn.example.com"]
parent_zone_id = "${var.parent_zone_id}"
target_dns_name = "${aws_elb.example.dns_name}"
Expand Down

0 comments on commit 679fbf9

Please sign in to comment.