Simple VPC endpoint

Terraform scripts to create a simple AWS VPC endpoint (S3) using the module vpce.

To create a simple AWS VPC endpoint:

terraform init
terraform plan
terraform apply

To delete all resource:

terraform destroy

Requirements

Name

Version

terraform

>= 1.0

aws

~> 5.61

external

~> 2.3.1

null

~> 3.2.1

random

~> 3.5.1

Providers

Name

Version

aws

~> 5.61

external

~> 2.3.1

null

~> 3.2.1

random

~> 3.5.1

Modules

Name

Source

Version

vpc

../../../vpc

n/a

vpce

../../../vpce

n/a

Resources

Name

Type

null_resource.timestamp

resource

random_string.suffix

resource

aws_availability_zones.available

data source

aws_caller_identity.current

data source

external_external.static_timestamp

data source

Inputs

Name

Description

Type

Default

Required

aws_profile

The AWS profile

string

"default"

no

aws_region

The AWS region

string

"eu-west-3"

no

Outputs

Name

Description

endpoints

Array containing the full resource object and attributes for all endpoints created

vpc_id

The ID of the VPC in which are created the VPC endpoints.