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
For detailed examples on how to use this module, please refer to the [Examples](https://github.com/opszero/terraform-aws-subnet/tree/master/_example) directory within this repository.
129
+
For detailed examples on how to use this module, please refer to the [Examples](https://github.com/opszero/terraform-aws-subnets/tree/master/_example) directory within this repository.
132
130
133
131
## Author
134
132
Your Name Replace **MIT** and **opszero** with the appropriate license and your information. Feel free to expand this README with additional details or usage instructions as needed for your specific use case.
135
133
136
134
## License
137
-
This project is licensed under the **MIT** License - see the [LICENSE](https://github.com/opszero/terraform-aws-subnet/blob/master/LICENSE) file for details.
135
+
This project is licensed under the **MIT** License - see the [LICENSE](https://github.com/opszero/terraform-aws-subnets/blob/master/LICENSE) file for details.
138
136
139
137
<!-- BEGIN_TF_DOCS -->
140
138
@@ -150,9 +148,9 @@ This project is licensed under the **MIT** License - see the [LICENSE](https://g
150
148
| <aname="input_availability_zones"></a> [availability\_zones](#input\_availability\_zones)| List of Availability Zones (e.g. `['us-east-1a', 'us-east-1b', 'us-east-1c']`). |`list(string)`|`[]`| no |
151
149
| <aname="input_cidr_block"></a> [cidr\_block](#input\_cidr\_block)| Base CIDR block which is divided into subnet CIDR blocks (e.g. `10.0.0.0/16`). |`string`|`null`| no |
152
150
| <aname="input_customer_owned_ipv4_pool"></a> [customer\_owned\_ipv4\_pool](#input\_customer\_owned\_ipv4\_pool)| The customer-owned IPv4 address pool for the subnet |`string`|`""`| no |
| <aname="input_database_subnet_assign_ipv6_address_on_creation"></a> [database\_subnet\_assign\_ipv6\_address\_on\_creation](#input\_database\_subnet\_assign\_ipv6\_address\_on\_creation)| Specify true to indicate that network interfaces created in the specified subnet should be assigned an IPv6 address. |`bool`|`false`| no |
157
155
| <aname="input_database_subnet_enable_dns64"></a> [database\_subnet\_enable\_dns64](#input\_database\_subnet\_enable\_dns64)| Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 addresses for IPv4-only destinations. Default: `true`|`bool`|`false`| no |
158
156
| <aname="input_database_subnet_enable_resource_name_dns_a_record_on_launch"></a> [database\_subnet\_enable\_resource\_name\_dns\_a\_record\_on\_launch](#input\_database\_subnet\_enable\_resource\_name\_dns\_a\_record\_on\_launch)| Indicates whether to respond to DNS queries for instance hostnames with DNS A records. Default: `false`|`bool`|`false`| no |
@@ -200,18 +198,18 @@ This project is licensed under the **MIT** License - see the [LICENSE](https://g
200
198
| <aname="input_nat_gateway_destination_cidr_block"></a> [nat\_gateway\_destination\_cidr\_block](#input\_nat\_gateway\_destination\_cidr\_block)| The CIDR block for the NAT gateway route. |`string`|`"0.0.0.0/0"`| no |
201
199
| <aname="input_nat_gateway_enabled"></a> [nat\_gateway\_enabled](#input\_nat\_gateway\_enabled)| Flag to enable/disable NAT Gateways creation in public subnets. |`bool`|`false`| no |
202
200
| <aname="input_outpost_arn"></a> [outpost\_arn](#input\_outpost\_arn)| The ARN of the Outpost to create the subnet in |`string`|`""`| no |
| <aname="input_private_subnet_assign_ipv6_address_on_creation"></a> [private\_subnet\_assign\_ipv6\_address\_on\_creation](#input\_private\_subnet\_assign\_ipv6\_address\_on\_creation)| Specify true to indicate that network interfaces created in the specified subnet should be assigned an IPv6 address. |`bool`|`false`| no |
207
205
| <aname="input_private_subnet_enable_dns64"></a> [private\_subnet\_enable\_dns64](#input\_private\_subnet\_enable\_dns64)| Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 addresses for IPv4-only destinations. Default: `true`|`bool`|`false`| no |
208
206
| <aname="input_private_subnet_enable_resource_name_dns_a_record_on_launch"></a> [private\_subnet\_enable\_resource\_name\_dns\_a\_record\_on\_launch](#input\_private\_subnet\_enable\_resource\_name\_dns\_a\_record\_on\_launch)| Indicates whether to respond to DNS queries for instance hostnames with DNS A records. Default: `false`|`bool`|`false`| no |
209
207
| <aname="input_private_subnet_enable_resource_name_dns_aaaa_record_on_launch"></a> [private\_subnet\_enable\_resource\_name\_dns\_aaaa\_record\_on\_launch](#input\_private\_subnet\_enable\_resource\_name\_dns\_aaaa\_record\_on\_launch)| Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records. Default: `true`|`bool`|`false`| no |
210
208
| <aname="input_private_subnet_ipv6_native"></a> [private\_subnet\_ipv6\_native](#input\_private\_subnet\_ipv6\_native)| Indicates whether to create an IPv6-only private subnet. Default: `false`|`bool`|`false`| no |
211
209
| <aname="input_private_subnet_private_dns_hostname_type_on_launch"></a> [private\_subnet\_private\_dns\_hostname\_type\_on\_launch](#input\_private\_subnet\_private\_dns\_hostname\_type\_on\_launch)| The type of hostnames to assign to instances in the subnet at launch. For IPv6-only subnets, an instance DNS name must be based on the instance ID. For dual-stack and IPv4-only subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. Valid values: `ip-name`, `resource-name`|`string`|`null`| no |
| <aname="input_public_rt_ipv4_destination_cidr"></a> [public\_rt\_ipv4\_destination\_cidr](#input\_public\_rt\_ipv4\_destination\_cidr)| The destination ipv4 CIDR block. |`string`|`"0.0.0.0/0"`| no |
216
214
| <aname="input_public_rt_ipv6_destination_cidr"></a> [public\_rt\_ipv6\_destination\_cidr](#input\_public\_rt\_ipv6\_destination\_cidr)| The destination ipv6 CIDR block. |`string`|`"::/0"`| no |
217
215
| <aname="input_public_subnet_assign_ipv6_address_on_creation"></a> [public\_subnet\_assign\_ipv6\_address\_on\_creation](#input\_public\_subnet\_assign\_ipv6\_address\_on\_creation)| Specify true to indicate that network interfaces created in the specified subnet should be assigned an IPv6 address. |`bool`|`false`| no |
@@ -222,7 +220,7 @@ This project is licensed under the **MIT** License - see the [LICENSE](https://g
222
220
| <aname="input_public_subnet_ipv6_native"></a> [public\_subnet\_ipv6\_native](#input\_public\_subnet\_ipv6\_native)| Indicates whether to create an IPv6-only public subnet. Default: `false`|`bool`|`false`| no |
223
221
| <aname="input_public_subnet_private_dns_hostname_type_on_launch"></a> [public\_subnet\_private\_dns\_hostname\_type\_on\_launch](#input\_public\_subnet\_private\_dns\_hostname\_type\_on\_launch)| The type of private DNS hostname to assign to instances in this subnet at launch. Must be either 'ip-name' or 'resource-name'. |`string`|`"ip-name"`| no |
224
222
| <aname="input_single_nat_gateway"></a> [single\_nat\_gateway](#input\_single\_nat\_gateway)| Enable for only single NAT Gateway in one Availability Zone |`bool`|`false`| no |
225
-
| <aname="input_tags"></a> [tags](#input\_tags)| Global tags to apply to resources. |`map(string)`| <pre>{<br/> "Environment": "production",<br/> "ManagedBy": "Terraform",<br/> "Name": "my-resource-name"<br/>}</pre> | no |
223
+
| <aname="input_tags"></a> [tags](#input\_tags)| Global tags to apply to resources. |`map(string)`| <pre>{<br> "Environment": "production",<br> "ManagedBy": "Terraform",<br> "Name": "my-resource-name"<br>}</pre> | no |
226
224
| <aname="input_transit_gateway_id"></a> [transit\_gateway\_id](#input\_transit\_gateway\_id)| Transit Gateway ID to attach to. |`string`|`null`| no |
227
225
| <aname="input_type"></a> [type](#input\_type)| Type of subnets to create (`private` or `public`). |`string`|`""`| no |
228
226
| <aname="input_vpc_id"></a> [vpc\_id](#input\_vpc\_id)| The VPC ID where the public and private subnets will be created. |`string`| n/a | yes |
0 commit comments