This is a vpc-endpoint to use for baseline. The default actions will provide updates for section between Requirements and Outputs.
- Will create all the required VPC endpoint which is used regularly in like DynamoDB, SSM, ECR, SQS, SNS, Lambda
module "vpc_endpoint" {
source = "git::https://github.com/tothenew/terraform-aws-vpc-endpoint.git"
vpc_id = "vpc-999999999999"
subnet_ids = ["subnet-999999999999"]
route_table_ids = ["rt-999999999999"]
}
Name | Version |
---|---|
terraform | >= 1.3.0 |
Name | Version |
---|---|
aws | n/a |
Name | Source | Version |
---|---|---|
add_gateway | ./modules/vpc-endpoint/gateway | n/a |
add_interface | ./modules/vpc-endpoint/interface | n/a |
ec2_interface | ./modules/vpc-endpoint/interface | n/a |
ec2_messages_interface | ./modules/vpc-endpoint/interface | n/a |
s3_gateway | ./modules/vpc-endpoint/gateway | n/a |
ssm_interface | ./modules/vpc-endpoint/interface | n/a |
ssm_messages_interface | ./modules/vpc-endpoint/interface | n/a |
Name | Type |
---|---|
aws_security_group.vpc_endpoint_sg | resource |
aws_caller_identity.current | data source |
aws_region.current | data source |
aws_vpc.selected | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
add_gateway | Adding new Gateway endpoints | list(string) |
[] |
no |
add_interface | Adding new Interface endpoints | list(string) |
[] |
no |
common_tags | A map to add common tags to all the resources | map(string) |
{ |
no |
private_dns_enabled | Allow private DNS enabled for the New VPC endpoint | bool |
true |
no |
project_name_prefix | A string value to describe prefix of all the resources | string |
"dev-project" |
no |
route_table_ids | A list of string value for Route table IDs | list(string) |
n/a | yes |
security_group_id | Security Group ID for VPC Endpoint, if not define module will create automatically | string |
"" |
no |
subnet_ids | A list of string value for Subnet IDs | list(string) |
n/a | yes |
vpc_id | A string value for VPC ID | string |
n/a | yes |
Name | Description |
---|---|
ec2_interface_arn | n/a |
ec2_interface_id | n/a |
ec2_messages_interface_arn | n/a |
ec2_messages_interface_id | n/a |
s3_gateway_arn | n/a |
s3_gateway_id | n/a |
ssm_interface_arn | n/a |
ssm_interface_id | n/a |
ssm_messages_interface_arn | n/a |
ssm_messages_interface_id | n/a |
Module managed by TO THE NEW Pvt. Ltd.
Apache 2 Licensed. See LICENSE for full details.