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 +137,7 @@ If `one_nat_gateway_per_az = true` and `single_nat_gateway = false`, then the mo
133
137
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
138
135
139
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
-
140
+
137
141
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
142
139
143
You can add additional tags with `intra_subnet_tags` as with other subnet types.
@@ -182,6 +186,12 @@ Terraform version 0.10.3 or newer is required for this module to work.
182
186
| Name | Description | Type | Default | Required |
183
187
|------|-------------|:----:|:-----:|:-----:|
184
188
| amazon\_side\_asn | The Autonomous System Number (ASN) for the Amazon side of the gateway. By default the virtual private gateway is created with the current default Amazon ASN. | string |`"64512"`| no |
189
+
<<<<<<< HEAD
190
+
=======
191
+
| apigw\_endpoint\_private\_dns\_enabled | Whether or not to associate a private hosted zone with the specified VPC for API GW endpoint | string |`"false"`| no |
192
+
| apigw\_endpoint\_security\_group\_ids | The ID of one or more security groups to associate with the network interface for API GW endpoint | list |`[]`| no |
193
+
| apigw\_endpoint\_subnet\_ids | 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. | list |`[]`| no |
194
+
>>>>>>> 417c3018b4419c98e0d1c21048a7077199245c93
185
195
| assign\_generated\_ipv6\_cidr\_block | Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IP addresses, or the size of the CIDR block | string |`"false"`| no |
186
196
| azs | A list of availability zones in the region | list |`[]`| no |
187
197
| cidr | The CIDR block for the VPC. Default value is a valid CIDR, but not acceptable by AWS and should be overridden | string |`"0.0.0.0/0"`| no |
@@ -226,6 +236,10 @@ Terraform version 0.10.3 or newer is required for this module to work.
226
236
| elasticache\_subnet\_suffix | Suffix to append to elasticache subnets name | string |`"elasticache"`| no |
227
237
| elasticache\_subnet\_tags | Additional tags for the elasticache subnets | map |`{}`| no |
228
238
| elasticache\_subnets | A list of elasticache subnets | list |`[]`| no |
239
+
<<<<<<< HEAD
240
+
=======
241
+
| enable\_apigw\_endpoint | Should be true if you want to provision an api gateway endpoint to the VPC | string |`"false"`| no |
242
+
>>>>>>> 417c3018b4419c98e0d1c21048a7077199245c93
229
243
| enable\_dhcp\_options | Should be true if you want to specify a DHCP options set with a custom domain name, DNS servers, NTP servers, netbios servers, and/or netbios server type | string |`"false"`| no |
230
244
| enable\_dns\_hostnames | Should be true to enable DNS hostnames in the VPC | string |`"false"`| no |
231
245
| enable\_dns\_support | Should be true to enable DNS support in the VPC | string |`"true"`| no |
@@ -243,6 +257,10 @@ Terraform version 0.10.3 or newer is required for this module to work.
243
257
| igw\_tags | Additional tags for the internet gateway | map |`{}`| no |
244
258
| instance\_tenancy | A tenancy option for instances launched into the VPC | string |`"default"`| no |
245
259
| intra\_route\_table\_tags | Additional tags for the intra route tables | map |`{}`| no |
260
+
<<<<<<< HEAD
261
+
=======
262
+
| intra\_subnet\_suffix | Suffix to append to intra subnets name | string |`"intra"`| no |
263
+
>>>>>>> 417c3018b4419c98e0d1c21048a7077199245c93
246
264
| intra\_subnet\_tags | Additional tags for the intra subnets | map |`{}`| no |
247
265
| intra\_subnets | A list of intra subnets | list |`[]`| no |
248
266
| manage\_default\_vpc | Should be true to adopt and manage Default VPC | string |`"false"`| no |
@@ -369,4 +387,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"
215
+
default = false
216
+
}
217
+
218
+
variable "apigw_endpoint_security_group_ids" {
219
+
description = "The ID of one or more security groups to associate with the network interface for API GW endpoint"
220
+
default = []
221
+
}
222
+
223
+
variable "apigw_endpoint_private_dns_enabled" {
224
+
description = "Whether or not to associate a private hosted zone with the specified VPC for API GW endpoint"
225
+
default = false
226
+
}
227
+
228
+
variable "apigw_endpoint_subnet_ids" {
229
+
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