Skip to content

Latest commit

 

History

History

vpc-gateway-endpoint

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

vpc-gateway-endpoint

This module creates following resources.

  • aws_vpc_endpoint
  • aws_vpc_endpoint_policy
  • aws_vpc_endpoint_route_table_association (optional)

Requirements

Name Version
terraform >= 1.6
aws >= 5.20

Providers

Name Version
aws 5.22.0

Modules

Name Source Version
resource_group tedilabs/misc/aws//modules/resource-group ~> 0.10.0

Resources

Name Type
aws_vpc_endpoint.this resource
aws_vpc_endpoint_policy.this resource
aws_vpc_endpoint_route_table_association.this resource
aws_vpc_endpoint_service.this data source

Inputs

Name Description Type Default Required
name (Required) Desired name for the VPC Gateway Endpoint. string n/a yes
service (Required) The AWS service name. Valid values are DYNAMODB, S3, S3EXPRESS. string n/a yes
vpc_id (Required) The ID of the VPC in which the endpoint will be used. string n/a yes
module_tags_enabled (Optional) Whether to create AWS Resource Tags for the module informations. bool true no
policy (Optional) A policy to attach to the endpoint that controls access to the service. This is a JSON formatted string. Defaults to full access. All Gateway endpoints support policies. string null no
resource_group_description (Optional) The description of Resource Group. string "Managed by Terraform." no
resource_group_enabled (Optional) Whether to create Resource Group to find and group AWS resources which are created by this module. bool true no
resource_group_name (Optional) The name of Resource Group. A Resource Group name can have a maximum of 127 characters, including letters, numbers, hyphens, dots, and underscores. The name cannot start with AWS or aws. string "" no
route_tables (Optional) A list of route table IDs to associate with the endpoint. list(string) [] no
tags (Optional) A map of tags to add to all resources. map(string) {} no
timeouts (Optional) How long to wait for the endpoint to be created/updated/deleted.
object({
create = optional(string, "10m")
update = optional(string, "10m")
delete = optional(string, "10m")
})
{} no

Outputs

Name Description
arn The Amazon Resource Name (ARN) of the VPC endpoint.
id The ID of the VPC endpoint.
name The VPC Gateway Endpoint name.
owner_id The owner ID of the VPC endpoint.
prefix_list The information of the prefix list of the VPC endpoint.
id - The prefix list ID of the exposed AWS service.
ipv4_cidrs - The list of CIDR blocks for the exposed AWS service.
route_tables The list of route table IDs which is associated with the VPC endpoint.
service_name The service name of the VPC Gateway Endpoint.
state The state of the VPC endpoint.
type The type of the VPC endpoint.
vpc_id The VPC ID of the VPC endpoint.