Skip to content

Latest commit

 

History

History

vpc-endpoint-service

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

vpc-endpoint-service

This module creates following resources.

  • aws_vpc_endpoint_service
  • aws_vpc_endpoint_service_allowed_principal (optional)
  • aws_vpc_endpoint_connection_notification (optional)

Requirements

Name Version
terraform >= 1.6
aws >= 5.22

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_connection_notification.this resource
aws_vpc_endpoint_service.this resource
aws_vpc_endpoint_service_allowed_principal.this resource

Inputs

Name Description Type Default Required
load_balancers (Required) A list of Amazon Resource Names of Network Load Balancers or Gateway Load Balancers for the endpoint service. list(string) n/a yes
name (Required) Desired name for the VPC Endpoint Service. string n/a yes
type (Required) A load balancer type for the VPC Endpoint Service. Valid values are GWLB and NLB. string n/a yes
acceptance_required (Optional) Whether or not VPC endpoint connection requests to the service must be accepted by the service owner. Defaults to false. bool false no
allowed_principals (Optional) A list of the ARNs of principal to allow to discover a VPC endpoint service. list(string) [] no
connection_notifications (Optional) A list of configurations of Endpoint Connection Notifications for VPC Endpoint Service events. Each block of connection_notifications as defined below.
(Required) name - The name of the configuration for connection notification. This value is only used internally within Terraform code.
(Required) sns_topic - The Amazon Resource Name (ARN) of the SNS topic for the notifications.
(Required) events - One or more endpoint events for which to receive notifications. Valid values are Accept, Reject, Connect and Delete.
list(object({
name = string
sns_topic = string
events = set(string)
}))
[] no
module_tags_enabled (Optional) Whether to create AWS Resource Tags for the module informations. bool true no
private_domain (Optional) The private domain name for the service. This option allows users of endpoints to use the specified private DNS name for access the service from their VPCs. 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
supported_ip_address_types (Optional) The supported IP address types. Valid values are IPv4 and IPv6. set(string) [] no
tags (Optional) A map of tags to add to all resources. map(string) {} no

Outputs

Name Description
allowed_principals A list of the ARNs of allowed principals to discover a VPC endpoint service.
arn The Amazon Resource Name (ARN) of the VPC endpoint service.
availability_zones The Availability Zones in which the service is available.
connection_notifications A list of Endpoint Connection Notifications for VPC Endpoint Service events.
domain_names The DNS names for the service.
id The ID of the VPC endpoint service.
load_balancers A list of ARNs of the load balancers for the VPC Endpoint Service.
manages_vpc_endpoints Whether or not the service manages its VPC endpoints
name The VPC Endpoint Service name.
private_domain The private DNS name for the service.
private_domain_configurations List of objects containing information about the endpoint service private DNS name configuration.
service_name The service name.
service_type The service type, Gateway or Interface.
state The state of the VPC endpoint service.
supported_ip_address_types The supported IP address types.
type A load balancer type for the VPC Endpoint Service.