From 78c720935d800c919b7595d576aa14d120d83460 Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Wed, 23 Jul 2014 15:56:28 -0400 Subject: [PATCH] website: route53 record --- .../aws/r/route53_record.html.markdown | 36 +++++++++++++++++++ .../aws/r/route53_zone.html.markdown | 2 +- website/source/layouts/aws.erb | 6 +++- 3 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 website/source/docs/providers/aws/r/route53_record.html.markdown diff --git a/website/source/docs/providers/aws/r/route53_record.html.markdown b/website/source/docs/providers/aws/r/route53_record.html.markdown new file mode 100644 index 000000000..4a519cf82 --- /dev/null +++ b/website/source/docs/providers/aws/r/route53_record.html.markdown @@ -0,0 +1,36 @@ +--- +layout: "aws" +page_title: "AWS: aws_route53_record" +sidebar_current: "docs-aws-resource-route53-record" +--- + +# aws\_route53\_record + +Provides a Route53 record resource. + +## Example Usage + +``` +resource "aws_route53_record" "www" { + zone_id = "${aws_route53_zone.primary.zone_id}" + name = "www.example.com" + type = "A" + ttl = "300" + records = ["${aws_eip.lb.public_ip}"] +} +``` + +## Argument Reference + +The following arguments are supported: + +* `zone_id` - (Required) The ID of the hosted zone to contain this record. +* `name` - (Required) The name of the record. +* `type` - (Required) The record type. +* `ttl` - (Required) The TTL of the record. +* `records` - (Required) A string list of records. + +## Attributes Reference + +No attributes are exported. + diff --git a/website/source/docs/providers/aws/r/route53_zone.html.markdown b/website/source/docs/providers/aws/r/route53_zone.html.markdown index b161d6f80..6be339aaf 100644 --- a/website/source/docs/providers/aws/r/route53_zone.html.markdown +++ b/website/source/docs/providers/aws/r/route53_zone.html.markdown @@ -1,6 +1,6 @@ --- layout: "aws" -page_title: "Provider: AWS" +page_title: "AWS: aws_route53_zone" sidebar_current: "docs-aws-resource-route53-zone" --- diff --git a/website/source/layouts/aws.erb b/website/source/layouts/aws.erb index 44bc85f45..84613c8b9 100644 --- a/website/source/layouts/aws.erb +++ b/website/source/layouts/aws.erb @@ -12,7 +12,11 @@ > Resources -