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
| <aname="input_additional_tag_map"></a> [additional\_tag\_map](#input\_additional\_tag\_map)| Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not added to `tags` or `id`.<br>This is for some rare cases where resources want additional configuration of tags<br>and therefore take a list of maps with tag key, value, and additional configuration. |`map(string)`|`{}`| no |
161
+
| <aname="input_advanced_event_selector"></a> [advanced\_event\_selector](#input\_advanced\_event\_selector)| Specifies an advanced event selector for enabling data event logging. See: https://www.terraform.io/docs/providers/aws/r/cloudtrail.html for details on this variable | <pre>list(object({<br> name = optional(string)<br> field_selector = list(object({<br> field = string<br> ends_with = optional(list(string))<br> not_ends_with = optional(list(string))<br> equals = optional(list(string))<br> not_equals = optional(list(string))<br> starts_with = optional(list(string))<br> not_starts_with = optional(list(string))<br> }))<br> }))</pre> |`[]`| no |
161
162
| <aname="input_attributes"></a> [attributes](#input\_attributes)| ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`,<br>in the order they appear in the list. New attributes are appended to the<br>end of the list. The elements of the list are joined by the `delimiter`<br>and treated as a single ID element. |`list(string)`|`[]`| no |
162
163
| <aname="input_cloud_watch_logs_group_arn"></a> [cloud\_watch\_logs\_group\_arn](#input\_cloud\_watch\_logs\_group\_arn)| Specifies a log group name using an Amazon Resource Name (ARN), that represents the log group to which CloudTrail logs will be delivered |`string`|`""`| no |
163
164
| <aname="input_cloud_watch_logs_role_arn"></a> [cloud\_watch\_logs\_role\_arn](#input\_cloud\_watch\_logs\_role\_arn)| Specifies the role for the CloudWatch Logs endpoint to assume to write to a user’s log group |`string`|`""`| no |
@@ -168,7 +169,7 @@ Available targets:
168
169
| <aname="input_enable_logging"></a> [enable\_logging](#input\_enable\_logging)| Enable logging for the trail |`bool`|`true`| no |
169
170
| <aname="input_enabled"></a> [enabled](#input\_enabled)| Set to false to prevent the module from creating any resources |`bool`|`null`| no |
170
171
| <aname="input_environment"></a> [environment](#input\_environment)| ID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'staging', 'dev', 'UAT' |`string`|`null`| no |
171
-
| <aname="input_event_selector"></a> [event\_selector](#input\_event\_selector)| Specifies an event selector for enabling data event logging. See: https://www.terraform.io/docs/providers/aws/r/cloudtrail.html for details on this variable | <pre>list(object({<br> include_management_events = bool<br> read_write_type = string<br><br> data_resource = list(object({<br> type = string<br> values = list(string)<br> }))<br> }))</pre> |`[]`| no |
172
+
| <aname="input_event_selector"></a> [event\_selector](#input\_event\_selector)| Specifies an event selector for enabling data event logging. See: https://www.terraform.io/docs/providers/aws/r/cloudtrail.html for details on this variable | <pre>list(object({<br> include_management_events = bool<br> read_write_type = string<br> exclude_management_event_sources = optional(set(string))<br><br> data_resource = list(object({<br> type = string<br> values = list(string)<br> }))<br> }))</pre> |`[]`| no |
172
173
| <aname="input_id_length_limit"></a> [id\_length\_limit](#input\_id\_length\_limit)| Limit `id` to this many characters (minimum 6).<br>Set to `0` for unlimited length.<br>Set to `null` for keep the existing setting, which defaults to `0`.<br>Does not affect `id_full`. |`number`|`null`| no |
173
174
| <aname="input_include_global_service_events"></a> [include\_global\_service\_events](#input\_include\_global\_service\_events)| Specifies whether the trail is publishing events from global services such as IAM to the log files |`bool`|`false`| no |
174
175
| <aname="input_insight_selector"></a> [insight\_selector](#input\_insight\_selector)| Specifies an insight selector for type of insights to log on a trail | <pre>list(object({<br> insight_type = string<br> }))</pre> |`[]`| no |
@@ -195,7 +196,7 @@ Available targets:
195
196
|------|-------------|
196
197
| <aname="output_cloudtrail_arn"></a> [cloudtrail\_arn](#output\_cloudtrail\_arn)| The Amazon Resource Name of the trail |
197
198
| <aname="output_cloudtrail_home_region"></a> [cloudtrail\_home\_region](#output\_cloudtrail\_home\_region)| The region in which the trail was created |
198
-
| <aname="output_cloudtrail_id"></a> [cloudtrail\_id](#output\_cloudtrail\_id)| The name of the trail |
199
+
| <aname="output_cloudtrail_id"></a> [cloudtrail\_id](#output\_cloudtrail\_id)| The ID of the trail. (Name for provider < v5, ARN for provider >= v5).|
| <aname="input_additional_tag_map"></a> [additional\_tag\_map](#input\_additional\_tag\_map)| Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not added to `tags` or `id`.<br>This is for some rare cases where resources want additional configuration of tags<br>and therefore take a list of maps with tag key, value, and additional configuration. |`map(string)`|`{}`| no |
32
+
| <aname="input_advanced_event_selector"></a> [advanced\_event\_selector](#input\_advanced\_event\_selector)| Specifies an advanced event selector for enabling data event logging. See: https://www.terraform.io/docs/providers/aws/r/cloudtrail.html for details on this variable | <pre>list(object({<br> name = optional(string)<br> field_selector = list(object({<br> field = string<br> ends_with = optional(list(string))<br> not_ends_with = optional(list(string))<br> equals = optional(list(string))<br> not_equals = optional(list(string))<br> starts_with = optional(list(string))<br> not_starts_with = optional(list(string))<br> }))<br> }))</pre> |`[]`| no |
32
33
| <aname="input_attributes"></a> [attributes](#input\_attributes)| ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`,<br>in the order they appear in the list. New attributes are appended to the<br>end of the list. The elements of the list are joined by the `delimiter`<br>and treated as a single ID element. |`list(string)`|`[]`| no |
33
34
| <aname="input_cloud_watch_logs_group_arn"></a> [cloud\_watch\_logs\_group\_arn](#input\_cloud\_watch\_logs\_group\_arn)| Specifies a log group name using an Amazon Resource Name (ARN), that represents the log group to which CloudTrail logs will be delivered |`string`|`""`| no |
34
35
| <aname="input_cloud_watch_logs_role_arn"></a> [cloud\_watch\_logs\_role\_arn](#input\_cloud\_watch\_logs\_role\_arn)| Specifies the role for the CloudWatch Logs endpoint to assume to write to a user’s log group |`string`|`""`| no |
@@ -39,7 +40,7 @@
39
40
| <aname="input_enable_logging"></a> [enable\_logging](#input\_enable\_logging)| Enable logging for the trail |`bool`|`true`| no |
40
41
| <aname="input_enabled"></a> [enabled](#input\_enabled)| Set to false to prevent the module from creating any resources |`bool`|`null`| no |
41
42
| <aname="input_environment"></a> [environment](#input\_environment)| ID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'staging', 'dev', 'UAT' |`string`|`null`| no |
42
-
| <aname="input_event_selector"></a> [event\_selector](#input\_event\_selector)| Specifies an event selector for enabling data event logging. See: https://www.terraform.io/docs/providers/aws/r/cloudtrail.html for details on this variable | <pre>list(object({<br> include_management_events = bool<br> read_write_type = string<br><br> data_resource = list(object({<br> type = string<br> values = list(string)<br> }))<br> }))</pre> |`[]`| no |
43
+
| <aname="input_event_selector"></a> [event\_selector](#input\_event\_selector)| Specifies an event selector for enabling data event logging. See: https://www.terraform.io/docs/providers/aws/r/cloudtrail.html for details on this variable | <pre>list(object({<br> include_management_events = bool<br> read_write_type = string<br> exclude_management_event_sources = optional(set(string))<br><br> data_resource = list(object({<br> type = string<br> values = list(string)<br> }))<br> }))</pre> |`[]`| no |
43
44
| <aname="input_id_length_limit"></a> [id\_length\_limit](#input\_id\_length\_limit)| Limit `id` to this many characters (minimum 6).<br>Set to `0` for unlimited length.<br>Set to `null` for keep the existing setting, which defaults to `0`.<br>Does not affect `id_full`. |`number`|`null`| no |
44
45
| <aname="input_include_global_service_events"></a> [include\_global\_service\_events](#input\_include\_global\_service\_events)| Specifies whether the trail is publishing events from global services such as IAM to the log files |`bool`|`false`| no |
45
46
| <aname="input_insight_selector"></a> [insight\_selector](#input\_insight\_selector)| Specifies an insight selector for type of insights to log on a trail | <pre>list(object({<br> insight_type = string<br> }))</pre> |`[]`| no |
@@ -66,5 +67,5 @@
66
67
|------|-------------|
67
68
| <aname="output_cloudtrail_arn"></a> [cloudtrail\_arn](#output\_cloudtrail\_arn)| The Amazon Resource Name of the trail |
68
69
| <aname="output_cloudtrail_home_region"></a> [cloudtrail\_home\_region](#output\_cloudtrail\_home\_region)| The region in which the trail was created |
69
-
| <aname="output_cloudtrail_id"></a> [cloudtrail\_id](#output\_cloudtrail\_id)| The name of the trail |
70
+
| <aname="output_cloudtrail_id"></a> [cloudtrail\_id](#output\_cloudtrail\_id)| The ID of the trail. (Name for provider < v5, ARN for provider >= v5).|
description="The trail is an AWS Organizations trail"
29
29
}
30
+
31
+
variable"advanced_event_selector" {
32
+
type=list(object({
33
+
name =optional(string)
34
+
field_selector =list(object({
35
+
field =string
36
+
ends_with =optional(list(string))
37
+
not_ends_with =optional(list(string))
38
+
equals =optional(list(string))
39
+
not_equals =optional(list(string))
40
+
starts_with =optional(list(string))
41
+
not_starts_with =optional(list(string))
42
+
}))
43
+
}))
44
+
description="Specifies an advanced event selector for enabling data event logging. See: https://www.terraform.io/docs/providers/aws/r/cloudtrail.html for details on this variable"
0 commit comments