/ap-terraform-vpc-endpoints

Analytical Platform Terraform VPC Endpoints • This repository is defined and managed in Terraform

Primary LanguageHCL

Creates VPS-endpoints for access to S3

Add the following code to call the module module "vpc_endpoints" { source = "git@github.com:ministryofjustice/ap-terraform-vpc-endpoints?ref=v1.0.0" vpc_id = module.vpc.vpc_id s3_routing_table_ids = module.vpc.private_route_table_ids

}

The calling module passes the vpc_id and the ids of the private route tables to enable the creation of the gateway endpoint.

Requirements

Name Version
terraform >= 0.14.0
aws ~> 3.71.0

Providers

Name Version
aws ~> 3.71.0

Modules

No modules.

Resources

Name Type
aws_vpc_endpoint.s3_gateway resource
aws_iam_policy_document.manage_policy data source
aws_region.current data source

Inputs

Name Description Type Default Required
s3_routing_table_ids id of the routing table to use list(string) n/a yes
tags A map of tags to add to endpoint resources map(string) {} no
vpc_id id of the vpc string n/a yes

Outputs

No outputs.