## Module functionality
Module creates vpc endpoint gateway. Also creates associations with route tables if `vpc_endpoint_type` is set to `Gateway`. Custom policy could be applied via "policy" variable.

## Providers

| Name | Version |
|------|---------|
| aws | n/a |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:-----:|
| common\_tags | Default tags to be applied | `map(string)` | `{}` | no |
| policy | A policy to attach to the endpoint that controls access to the service. Defaults to full access. All Gateway and some Interface endpoints support policies. | `string` | `""` | no |
| region | Region name. Defaults to us-east-1 | `string` | `"us-east-1"` | no |
| route\_tables | One or more route table IDs. Applicable for endpoints of type Gateway. | `list(string)` | `[]` | no |
| security\_group\_ids | The ID of one or more security groups to associate with the network interface. Required for endpoints of type Interface. | `list(string)` | `[]` | no |
| service | The service name. | `string` | n/a | yes |
| subnet\_ids | The ID of one or more subnets in which to create a network interface for the endpoint. Applicable for endpoints of type Interface. | `list(string)` | `[]` | no |
| vpc\_endpoint\_type | The VPC endpoint type, Gateway or Interface. Defaults to Gateway. | `string` | `"Gateway"` | no |
| vpc\_id | The ID of the VPC in which the endpoint will be used. | `string` | n/a | yes |

## Outputs

| Name | Description |
|------|-------------|
| rt\_association | List of route table associations |
| vpc\_endpoint | Vpc endpoint object |
