website: route53 record

This commit is contained in:
Armon Dadgar 2014-07-23 15:56:28 -04:00
parent c76ec75433
commit 78c720935d
3 changed files with 42 additions and 2 deletions

View File

@ -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.

View File

@ -1,6 +1,6 @@
---
layout: "aws"
page_title: "Provider: AWS"
page_title: "AWS: aws_route53_zone"
sidebar_current: "docs-aws-resource-route53-zone"
---

View File

@ -12,7 +12,11 @@
<li<%= sidebar_current("docs-aws-resource") %>>
<a href="#">Resources</a>
<ul class="nav nav-visible">
<ul class="nav nav-visible">
<li<%= sidebar_current("docs-aws-resource-route53-record") %>>
<a href="/docs/providers/aws/r/route53_record.html">aws_route53_record</a>
</li>
<li<%= sidebar_current("docs-aws-resource-route53-zone") %>>
<a href="/docs/providers/aws/r/route53_zone.html">aws_route53_zone</a>
</li>