Skip to content

Commit bb619dd

Browse files
committed
Update description for variables
1 parent fc71d90 commit bb619dd

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

modules/subnet-group/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ This module creates following resources.
5353
| Name | Description | Type | Default | Required |
5454
|------|-------------|------|---------|:--------:|
5555
| <a name="input_name"></a> [name](#input\_name) | (Required) The name of the subnet group. | `string` | n/a | yes |
56-
| <a name="input_subnets"></a> [subnets](#input\_subnets) | (Required) A configuration of subnets to create in the subnet group. Each block of `subnets` as defined below.<br> (Optional) `type` - The type of subnet. Valid values are `DUALSTACK` and `IPV6`. Defaults to `DUALSTACK`.<br> (Optional) `availability_zone` - The availability zone of the subnet. If the value of `availability_zone` and `availability_zone_id` are both not provided, the subnet will be created in random availability zone.<br> (Optional) `availability_zone_id` - The availability zone ID of the subnet. If the value of `availability_zone` and `availability_zone_id` are both not provided, the subnet will be created in random availability zone. | <pre>map(object({<br> type = optional(string, "DUALSTACK")<br><br> availability_zone = optional(string)<br> availability_zone_id = optional(string)<br><br> ipv4_cidr = optional(string)<br> ipv6_cidr = optional(string)<br> }))</pre> | n/a | yes |
56+
| <a name="input_subnets"></a> [subnets](#input\_subnets) | (Required) A configuration of subnets to create in the subnet group. Each block of `subnets` as defined below.<br> (Optional) `type` - The type of subnet. Valid values are `DUALSTACK` and `IPV6`. Defaults to `DUALSTACK`.<br> (Optional) `availability_zone` - The availability zone of the subnet. If the value of `availability_zone` and `availability_zone_id` are both not provided, the subnet will be created in random availability zone.<br> (Optional) `availability_zone_id` - The availability zone ID of the subnet. If the value of `availability_zone` and `availability_zone_id` are both not provided, the subnet will be created in random availability zone.<br> (Optional) `ipv4_cidr` - The IPv4 CIDR block for the subnet.<br> (Optional) `ipv6_cidr` - The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length. | <pre>map(object({<br> type = optional(string, "DUALSTACK")<br><br> availability_zone = optional(string)<br> availability_zone_id = optional(string)<br><br> ipv4_cidr = optional(string)<br> ipv6_cidr = optional(string)<br> }))</pre> | n/a | yes |
5757
| <a name="input_vpc_id"></a> [vpc\_id](#input\_vpc\_id) | (Required) The ID of the VPC which the subnet group belongs to. | `string` | n/a | yes |
5858
| <a name="input_customer_owned_ipv4_address_assignment"></a> [customer\_owned\_ipv4\_address\_assignment](#input\_customer\_owned\_ipv4\_address\_assignment) | (Optional) A configuration for Customer-owned IPv4 address assignment. `customer_owned_ipv4_address_assignment` as defined below.<br> (Optional) `enabled` - Whether to automatically request a Customer-owned IPv4 address for a new network interface in this subnet. Defaults to `false`.<br> (Optional) `outpost` - The Amazon Resource Name (ARN) of the Outpost.<br> (Optional) `pool` - The customer owned IPv4 address pool. | <pre>object({<br> enabled = optional(bool, false)<br> outpost = optional(string)<br> pool = optional(string)<br> })</pre> | `{}` | no |
5959
| <a name="input_dax_subnet_group"></a> [dax\_subnet\_group](#input\_dax\_subnet\_group) | (Optional) A configuration of DAX Subnet Group. `dax_subnet_group` as defined below.<br> (Optional) `enabled` - Whether to create DAX Subnet Group. Defaults to `false`.<br> (Optional) `name` - The name of the DAX Subnet Group. If not provided, the value of `name` will be used.<br> (Optional) `description` - The description of the DAX Subnet Group. | <pre>object({<br> enabled = optional(bool, false)<br> name = optional(string)<br> description = optional(string, "Managed by Terraform.")<br> })</pre> | `{}` | no |

modules/subnet-group/variables.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ variable "subnets" {
1616
(Optional) `type` - The type of subnet. Valid values are `DUALSTACK` and `IPV6`. Defaults to `DUALSTACK`.
1717
(Optional) `availability_zone` - The availability zone of the subnet. If the value of `availability_zone` and `availability_zone_id` are both not provided, the subnet will be created in random availability zone.
1818
(Optional) `availability_zone_id` - The availability zone ID of the subnet. If the value of `availability_zone` and `availability_zone_id` are both not provided, the subnet will be created in random availability zone.
19+
(Optional) `ipv4_cidr` - The IPv4 CIDR block for the subnet.
20+
(Optional) `ipv6_cidr` - The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length.
1921
EOF
2022
type = map(object({
2123
type = optional(string, "DUALSTACK")

0 commit comments

Comments
 (0)