provider/aws: Add docs for vpc_endpoint
This commit is contained in:
parent
3ebabbffcc
commit
650b13ebd4
|
@ -0,0 +1,37 @@
|
||||||
|
---
|
||||||
|
layout: "aws"
|
||||||
|
page_title: "AWS: aws_vpc_endpoint"
|
||||||
|
sidebar_current: "docs-aws-resource-vpc-endpoint"
|
||||||
|
description: |-
|
||||||
|
Provides a VPC Endpoint resource.
|
||||||
|
---
|
||||||
|
|
||||||
|
# aws\_vpc\_endpoint
|
||||||
|
|
||||||
|
Provides a VPC Endpoint resource.
|
||||||
|
|
||||||
|
## Example Usage
|
||||||
|
|
||||||
|
Basic usage:
|
||||||
|
|
||||||
|
```
|
||||||
|
resource "aws_vpc_endpoint" "private-s3" {
|
||||||
|
vpc_id = "${aws_vpc.main.id}"
|
||||||
|
service_name = "com.amazonaws.us-west-2.s3"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Argument Reference
|
||||||
|
|
||||||
|
The following arguments are supported:
|
||||||
|
|
||||||
|
* `vpc_id` - (Required) The ID of the VPC in which the endpoint will be used.
|
||||||
|
* `service_name` - (Required) The AWS service name, in the form `com.amazonaws.region.service`.
|
||||||
|
* `policy_document` - (Optional) A policy to attach to the endpoint that controls access to the service.
|
||||||
|
* `route_table_ids` - (Optional) One or more route table IDs.
|
||||||
|
|
||||||
|
## Attributes Reference
|
||||||
|
|
||||||
|
The following attributes are exported:
|
||||||
|
|
||||||
|
* `id` - The ID of the VPC endpoint.
|
|
@ -265,7 +265,11 @@
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-aws-resource-vpc-dhcp-options-association") %>>
|
<li<%= sidebar_current("docs-aws-resource-vpc-dhcp-options-association") %>>
|
||||||
<a href="/docs/providers/aws/r/vpc_dhcp_options_association.html">aws_vpc_dhcp_options_association</a>
|
<a href="/docs/providers/aws/r/vpc_dhcp_options_association.html">aws_vpc_dhcp_options_association</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li<%= sidebar_current("docs-aws-resource-vpc-endpoint") %>>
|
||||||
|
<a href="/docs/providers/aws/r/vpc_endpoint.html">aws_vpc_endpoint</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-aws-resource-vpc-peering") %>>
|
<li<%= sidebar_current("docs-aws-resource-vpc-peering") %>>
|
||||||
<a href="/docs/providers/aws/r/vpc_peering.html">aws_vpc_peering</a>
|
<a href="/docs/providers/aws/r/vpc_peering.html">aws_vpc_peering</a>
|
||||||
|
|
Loading…
Reference in New Issue