Skip to content

core-cloud terraform module for vpc endpoint resources

Notifications You must be signed in to change notification settings

UKHomeOffice/core-cloud-vpc-endpoint-tf-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

core-cloud-vpc-endpoint-tf-module - VPC Endpoint Terraform Module

Example Usage

 module "vpce" {
    source = "git::git::https://github.com/UKHomeOffice/core-cloud-vpc-endpoint-tf-module.git?ref=main"

    vpc_endpoint_name           = "some_service"
    vpc_id                      = "vpc-xxxxxxxxxxxxxxxxx"
    service_name                = "com.amazonaws.vpce.<region>.xxxxxxxxxxxxxxx"
    security_group_ids          = ["sg-xxxxxxxxxxxxxx"]
    subnet_ids                  = ["subnet-axxxxxxxxx", "subnet-bxxxxxxxxx", "subnet-cxxxxxxxx"]
    managed_private_dns_enabled = false
    custom_private_r53_zone     = "private.example.com"
 }

Requirements

Name Version
terraform >= 1.0
aws ~> 5.0

Providers

Name Version
aws ~> 5.0

Modules

No modules.

Resources

Name Type
aws_route53_record.this resource
aws_route53_zone.private resource
aws_vpc_endpoint.this resource

Inputs

Name Description Type Default Required
custom_private_r53_associated_vpcs A list of additional VPC IDs that's to be associated with the custom Route53 PHZ list(string) [] no
custom_private_r53_zone If desired specify a private dns hosted zone for the VPC endpoint string "" no
custom_private_r53_zone_ttl If desired specify the ttl of the dns record for the VPC endpoint string "300" no
managed_private_dns_enabled Whether or not to associate a AWS managed private hosted zone with the specified VPC - AWS services and AWS Marketplace partner services only bool false no
region The AWS region to deploy the vpc endpoint string "eu-west-2" no
security_group_ids The ID of one or more security groups to associate with the network interface. Applicable for endpoints of type Interface. If no security groups are specified, the VPC's default security group is associated with the endpoint. list(string) [] no
service_name The service name. For AWS services the service name is usually in the form com.amazonaws.. string n/a yes
subnet_ids The ID of one or more subnets in which to create a network interface for the endpoint. list(string) [] no
tags A map of tags to add to all resources map(string) {} no
vpc_endpoint_name The name of the VPC Endpoint resource - try and match the service name as close as possible string n/a yes
vpc_id The ID of the VPC in which the endpoint will be used string n/a yes

Outputs

Name Description
custom_r53_phz_arn n/a
custom_r53_phz_id n/a
vpce_endpoint_arn n/a
vpce_endpoint_id n/a

About

core-cloud terraform module for vpc endpoint resources

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages