website: EIP
This commit is contained in:
parent
78c720935d
commit
d361400be6
|
@ -0,0 +1,33 @@
|
||||||
|
---
|
||||||
|
layout: "aws"
|
||||||
|
page_title: "AWS: aws_eip"
|
||||||
|
sidebar_current: "docs-aws-resource-eip"
|
||||||
|
---
|
||||||
|
|
||||||
|
# aws\_eip
|
||||||
|
|
||||||
|
Provides an Elastic IP resource.
|
||||||
|
|
||||||
|
## Example Usage
|
||||||
|
|
||||||
|
```
|
||||||
|
resource "aws_eip" "lb" {
|
||||||
|
instance = "${aws_instance.web.instance_id}"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Argument Reference
|
||||||
|
|
||||||
|
The following arguments are supported:
|
||||||
|
|
||||||
|
* `vpc` - (Optional) VPC ID
|
||||||
|
* `instance` - (Optional) EC2 instance ID.
|
||||||
|
|
||||||
|
## Attributes Reference
|
||||||
|
|
||||||
|
The following attributes are exported:
|
||||||
|
|
||||||
|
* `private_ip` - Contrains the private IP address (if in VPC).
|
||||||
|
* `public_ip` - Contains the public IP address.
|
||||||
|
* `instance` - Contains the ID of the instance attached ot.
|
||||||
|
|
|
@ -13,6 +13,10 @@
|
||||||
<li<%= sidebar_current("docs-aws-resource") %>>
|
<li<%= sidebar_current("docs-aws-resource") %>>
|
||||||
<a href="#">Resources</a>
|
<a href="#">Resources</a>
|
||||||
<ul class="nav nav-visible">
|
<ul class="nav nav-visible">
|
||||||
|
<li<%= sidebar_current("docs-aws-resource-eip") %>>
|
||||||
|
<a href="/docs/providers/aws/r/eip.html">aws_eip</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-aws-resource-route53-record") %>>
|
<li<%= sidebar_current("docs-aws-resource-route53-record") %>>
|
||||||
<a href="/docs/providers/aws/r/route53_record.html">aws_route53_record</a>
|
<a href="/docs/providers/aws/r/route53_record.html">aws_route53_record</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in New Issue