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
|[aws_iam_policy_document.cloudwatch](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
54
54
55
55
## Inputs
@@ -60,18 +60,21 @@ No modules.
60
60
| <aname="input_max_aggregation_interval"></a> [max\_aggregation\_interval](#input\_max\_aggregation\_interval)| The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record. Valid Values: 60 seconds (1 minute) or 600 seconds (10 minutes) |`string`|`"600"`| no |
61
61
| <aname="input_name_prefix"></a> [name\_prefix](#input\_name\_prefix)| A prefix used for naming resources. |`string`| n/a | yes |
62
62
| <aname="input_retention_in_days"></a> [retention\_in\_days](#input\_retention\_in\_days)| Specifies the number of days you want to retain log events in the specified log group. |`string`|`null`| no |
63
+
| <aname="input_subnet_id"></a> [subnet\_id](#input\_subnet\_id)| Subnet ID to attach to. |`string`|`null`| no |
63
64
| <aname="input_tags"></a> [tags](#input\_tags)| Default tags attached to all resources. |`map(string)`|`{}`| no |
64
65
| <aname="input_traffic_type"></a> [traffic\_type](#input\_traffic\_type)| The type of traffic to capture. Valid values: ACCEPT, REJECT, ALL. |`string`|`"ALL"`| no |
65
-
| <aname="input_vpc_id"></a> [vpc\_id](#input\_vpc\_id)| VPC ID where resources will be created and flow logs enabled. |`string`| n/a | yes |
66
+
| <aname="input_transit_gateway_attachment_id"></a> [transit\_gateway\_attachment\_id](#input\_transit\_gateway\_attachment\_id)| Transit Gateway Attachment ID to attach to. |`string`|`null`| no |
67
+
| <aname="input_transit_gateway_id"></a> [transit\_gateway\_id](#input\_transit\_gateway\_id)| Transit Gateway ID to attach to. |`string`|`null`| no |
68
+
| <aname="input_vpc_id"></a> [vpc\_id](#input\_vpc\_id)| VPC ID where resources will be created and flow logs enabled. |`string`|`null`| no |
66
69
67
70
## Outputs
68
71
69
72
| Name | Description |
70
73
|------|-------------|
71
-
| <aname="output_vpc_flow_logs_cloudwatch_group_arn"></a> [vpc\_flow\_logs\_cloudwatch\_group\_arn](#output\_vpc\_flow\_logs\_cloudwatch\_group\_arn)| The ARN specifying the log group used by Flow Logs. |
72
-
| <aname="output_vpc_flow_logs_id"></a> [vpc\_flow\_logs\_id](#output\_vpc\_flow\_logs\_id)| The Flow Log ID. |
73
-
| <aname="output_vpc_flow_logs_role_arn"></a> [vpc\_flow\_logs\_role\_arn](#output\_vpc\_flow\_logs\_role\_arn)| The ARN specifying the role used by Flow Logs. |
74
-
| <aname="output_vpc_flow_logs_role_id"></a> [vpc\_flow\_logs\_role\_id](#output\_vpc\_flow\_logs\_role\_id)| The ID specifying the role used by Flow Logs. |
74
+
| <aname="output_flow_logs_cloudwatch_group_arn"></a> [flow\_logs\_cloudwatch\_group\_arn](#output\_flow\_logs\_cloudwatch\_group\_arn)| The ARN specifying the log group used by Flow Logs. |
75
+
| <aname="output_flow_logs_id"></a> [flow\_logs\_id](#output\_flow\_logs\_id)| The Flow Log ID. |
76
+
| <aname="output_flow_logs_role_arn"></a> [flow\_logs\_role\_arn](#output\_flow\_logs\_role\_arn)| The ARN specifying the role used by Flow Logs. |
77
+
| <aname="output_flow_logs_role_id"></a> [flow\_logs\_role\_id](#output\_flow\_logs\_role\_id)| The ID specifying the role used by Flow Logs. |
description="The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record. Valid Values: 60 seconds (1 minute) or 600 seconds (10 minutes)"
38
33
default="600"
39
34
}
35
+
36
+
variable"vpc_id" {
37
+
type=string
38
+
description="VPC ID where resources will be created and flow logs enabled."
39
+
default=null
40
+
}
41
+
42
+
variable"subnet_id" {
43
+
type=string
44
+
description="Subnet ID to attach to."
45
+
default=null
46
+
}
47
+
48
+
variable"transit_gateway_id" {
49
+
type=string
50
+
description="Transit Gateway ID to attach to."
51
+
default=null
52
+
}
53
+
54
+
variable"transit_gateway_attachment_id" {
55
+
type=string
56
+
description="Transit Gateway Attachment ID to attach to."
0 commit comments