FEATURES OPEN SOURCE ABOUT DOCS LOGIN REGISTER

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:

Attributes Reference

The following attributes are exported:

Import

VPN Endpoints can be imported using the vpc endpoint id, e.g.

$ terraform import aws_vpc_endpoint.endpoint1 vpce-3ecf2a57

See the source of this document at Terraform.io