You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -133,7 +133,7 @@ If `one_nat_gateway_per_az = true` and `single_nat_gateway = false`, then the mo
133
133
By default, if NAT Gateways are enabled, private subnets will be configured with routes for Internet traffic that point at the NAT Gateways configured by use of the above options.
134
134
135
135
If you need private subnets that should have no Internet routing (in the sense of [RFC1918 Category 1 subnets](https://tools.ietf.org/html/rfc1918)), `intra_subnets` should be specified. An example use case is configuration of AWS Lambda functions within a VPC, where AWS Lambda functions only need to pass traffic to internal resources or VPC endpoints for AWS services.
136
-
136
+
137
137
Since AWS Lambda functions allocate Elastic Network Interfaces in proportion to the traffic received ([read more](https://docs.aws.amazon.com/lambda/latest/dg/vpc.html)), it can be useful to allocate a large private subnet for such allocations, while keeping the traffic they generate entirely internal to the VPC.
138
138
139
139
You can add additional tags with `intra_subnet_tags` as with other subnet types.
@@ -238,6 +238,7 @@ Terraform version 0.10.3 or newer is required for this module to work.
238
238
| enable\_s3\_endpoint | Should be true if you want to provision an S3 endpoint to the VPC | string |`"false"`| no |
239
239
| enable\_ssm\_endpoint | Should be true if you want to provision an SSM endpoint to the VPC | string |`"false"`| no |
240
240
| enable\_ssmmessages\_endpoint | Should be true if you want to provision a SSMMESSAGES endpoint to the VPC | string |`"false"`| no |
241
+
| enable\_apigw\_endpoint | Should be true if you want to provision a API Gateway endpoint to the VPC | string |`"false"`| no |
241
242
| enable\_vpn\_gateway | Should be true if you want to create a new VPN Gateway resource and attach it to the VPC | string |`"false"`| no |
242
243
| external\_nat\_ip\_ids | List of EIP IDs to be assigned to the NAT Gateways (used in combination with reuse_nat_ips) | list |`[]`| no |
243
244
| igw\_tags | Additional tags for the internet gateway | map |`{}`| no |
@@ -271,8 +272,10 @@ Terraform version 0.10.3 or newer is required for this module to work.
271
272
| single\_nat\_gateway | Should be true if you want to provision a single shared NAT Gateway across all of your private networks | string |`"false"`| no |
272
273
| ssm\_endpoint\_private\_dns\_enabled | Whether or not to associate a private hosted zone with the specified VPC for SSM endpoint | string |`"false"`| no |
273
274
| ssm\_endpoint\_security\_group\_ids | The ID of one or more security groups to associate with the network interface for SSM endpoint | list |`[]`| no |
275
+
| apigw\_endpoint\_security\_group\_ids | The ID of one or more security groups to associate with the network interface for API Gateway endpoint | list |`[]`| no |
274
276
| ssm\_endpoint\_subnet\_ids | The ID of one or more subnets in which to create a network interface for SSM endpoint. Only a single subnet within an AZ is supported. If omitted, private subnets will be used. | list |`[]`| no |
275
277
| ssmmessages\_endpoint\_private\_dns\_enabled | Whether or not to associate a private hosted zone with the specified VPC for SSMMESSAGES endpoint | string |`"false"`| no |
278
+
| apigw\_endpoint\_private\_dns\_enabled | Whether or not to associate a private hosted zone with the specified VPC for API Gateway endpoint | string |`"false"`| no |
276
279
| ssmmessages\_endpoint\_security\_group\_ids | The ID of one or more security groups to associate with the network interface for SSMMESSAGES endpoint | list |`[]`| no |
277
280
| ssmmessages\_endpoint\_subnet\_ids | The ID of one or more subnets in which to create a network interface for SSMMESSAGES endpoint. Only a single subnet within an AZ is supported. If omitted, private subnets will be used. | list |`[]`| no |
278
281
| tags | A map of tags to add to all resources | map |`{}`| no |
@@ -369,4 +372,3 @@ Module is maintained by [Anton Babenko](https://github.com/antonbabenko) with he
description="Should be true if you want to provision an api gateway endpoint to the VPC"
213
+
default=false
214
+
}
215
+
216
+
variable"apigw_endpoint_security_group_ids" {
217
+
description="The ID of one or more security groups to associate with the network interface for API GW endpoint"
218
+
default=[]
219
+
}
220
+
221
+
variable"apigw_endpoint_private_dns_enabled" {
222
+
description="Whether or not to associate a private hosted zone with the specified VPC for API GW endpoint"
223
+
default=false
224
+
}
225
+
226
+
variable"apigw_endpoint_subnet_ids" {
227
+
description="The ID of one or more subnets in which to create a network interface for API GW endpoint. Only a single subnet within an AZ is supported. If omitted, private subnets will be used."
0 commit comments