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
@@ -75,6 +76,7 @@ This module creates following resources.
75
76
| <aname="input_shares"></a> [shares](#input\_shares)| (Optional) A list of resource shares via RAM (Resource Access Manager). | <pre>list(object({<br> name = optional(string)<br><br> permissions = optional(set(string), ["AWSRAMDefaultPermissionSubnet"])<br><br> external_principals_allowed = optional(bool, false)<br> principals = optional(set(string), [])<br><br> tags = optional(map(string), {})<br> }))</pre> |`[]`| no |
76
77
| <aname="input_tags"></a> [tags](#input\_tags)| (Optional) A map of tags to add to all resources. |`map(string)`|`{}`| no |
77
78
| <aname="input_timeouts"></a> [timeouts](#input\_timeouts)| (Optional) How long to wait for the subnet group to be created/deleted. | <pre>object({<br> create = optional(string, "10m")<br> delete = optional(string, "20m")<br> })</pre> |`{}`| no |
79
+
| <a name="input_transit_gateway_attachments"></a> [transit\_gateway\_attachments](#input\_transit\_gateway\_attachments) | (Optional) A list of configurations for Transit Gateway VPC attachments. Each block of `transit_gateway_attachments` as defined below.<br> (Required) `name` - The name of the Transit Gateway VPC attachment.<br> (Required) `transit_gateway` - The ID of the Transit Gateway.<br> (Optional) `appliance_mode_enabled` - Whether Appliance Mode support is enabled. If enabled, a traffic flow between a source and destination uses the same Availability Zone for the VPC attachment for the lifetime of that flow. Defaults to `false`.<br> (Optional) `dns_support_enabled` - Whether to enable Domain Name System resolution for VPCs attached to this transit gateway. Defaults to `true`.<br> (Optional) `ipv6_enabled` - Whether to enable IPv6 support. Defaults to `false`.<br> (Optional) `default_association_route_table_enabled` - Whether to automatically associate transit gateway attachments with this transit gateway's default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Defaults to `false`.<br> (Optional) `default_propagation_route_table_enabled` - Whether to automatically propagate transit gateway attachments with this transit gateway's default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Defaults to `false`.<br> (Optional) `tags` - A map of tags to add to the vpc association. | <pre>list(object({<br> name = string<br> transit_gateway = string<br> appliance_mode_enabled = optional(bool, false)<br> dns_support_enabled = optional(bool, true)<br> ipv6_enabled = optional(bool, false)<br> default_association_route_table_enabled = optional(bool, false)<br> default_propagation_route_table_enabled = optional(bool, false)<br><br> tags = optional(map(string), {})<br> }))</pre> | `[]` | no |
78
80
79
81
## Outputs
80
82
@@ -104,5 +106,6 @@ This module creates following resources.
104
106
| <aname="output_sharing"></a> [sharing](#output\_sharing)| The configuration for sharing of subnets in the subnet group.<br> `status` - An indication of whether subnets are shared with other AWS accounts, or was shared with the current account by another AWS account. Sharing is configured through AWS Resource Access Manager (AWS RAM). Values are `NOT_SHARED`, `SHARED_BY_ME` or `SHARED_WITH_ME`.<br> `shares` - The list of resource shares via RAM (Resource Access Manager). |
105
107
| <aname="output_subnets"></a> [subnets](#output\_subnets)| A list of subnets of the subnet group. |
106
108
| <aname="output_subnets_by_az"></a> [subnets\_by\_az](#output\_subnets\_by\_az)| A map of subnets of the subnet group which are grouped by availability zone id. |
109
+
| <aname="output_transit_gateway_attachments"></a> [transit\_gateway\_attachments](#output\_transit\_gateway\_attachments)| The configuration of Transit Gateway VPC attachments. |
107
110
| <aname="output_vpc_id"></a> [vpc\_id](#output\_vpc\_id)| The ID of the VPC which the subnet group belongs to. |
Copy file name to clipboardExpand all lines: modules/subnet-group/variables.tf
+35Lines changed: 35 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -131,6 +131,41 @@ variable "dns_config" {
131
131
}
132
132
}
133
133
134
+
variable"transit_gateway_attachments" {
135
+
description=<<EOF
136
+
(Optional) A list of configurations for Transit Gateway VPC attachments. Each block of `transit_gateway_attachments` as defined below.
137
+
(Required) `name` - The name of the Transit Gateway VPC attachment.
138
+
(Required) `transit_gateway` - The ID of the Transit Gateway.
139
+
(Optional) `appliance_mode_enabled` - Whether Appliance Mode support is enabled. If enabled, a traffic flow between a source and destination uses the same Availability Zone for the VPC attachment for the lifetime of that flow. Defaults to `false`.
140
+
(Optional) `dns_support_enabled` - Whether to enable Domain Name System resolution for VPCs attached to this transit gateway. Defaults to `true`.
141
+
(Optional) `ipv6_enabled` - Whether to enable IPv6 support. Defaults to `false`.
142
+
(Optional) `default_association_route_table_enabled` - Whether to automatically associate transit gateway attachments with this transit gateway's default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Defaults to `false`.
143
+
(Optional) `default_propagation_route_table_enabled` - Whether to automatically propagate transit gateway attachments with this transit gateway's default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Defaults to `false`.
144
+
(Optional) `tags` - A map of tags to add to the vpc association.
0 commit comments