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
@@ -42,8 +42,10 @@ This module creates following resources.
42
42
| <aname="input_resource_group_description"></a> [resource\_group\_description](#input\_resource\_group\_description)| (Optional) The description of Resource Group. |`string`|`"Managed by Terraform."`| no |
43
43
| <aname="input_resource_group_enabled"></a> [resource\_group\_enabled](#input\_resource\_group\_enabled)| (Optional) Whether to create Resource Group to find and group AWS resources which are created by this module. |`bool`|`true`| no |
44
44
| <aname="input_resource_group_name"></a> [resource\_group\_name](#input\_resource\_group\_name)| (Optional) The name of Resource Group. A Resource Group name can have a maximum of 127 characters, including letters, numbers, hyphens, dots, and underscores. The name cannot start with `AWS` or `aws`. |`string`|`""`| no |
45
+
| <aname="input_scope"></a> [scope](#input\_scope)| (Optional) A scope of Analyzer. Valid values are `ACCOUNT` or `ORGANIZATION`. Defaults to `ACCOUNT`. |`string`|`"ACCOUNT"`| no |
45
46
| <aname="input_tags"></a> [tags](#input\_tags)| (Optional) A map of tags to add to all resources. |`map(string)`|`{}`| no |
46
-
| <aname="input_type"></a> [type](#input\_type)| (Optional) Type of Analyzer. Valid values are `ACCOUNT` or `ORGANIZATION`. Defaults to `ACCOUNT`. |`string`|`"ACCOUNT"`| no |
47
+
| <aname="input_type"></a> [type](#input\_type)| (Optional) A finding type of Analyzer. Valid values are `EXTERNAL_ACCESS` or `UNUSED_ACCESS`. Defaults to `EXTERNAL_ACCESS`. |`string`|`"EXTERNAL_ACCESS"`| no |
48
+
| <aname="input_unused_access_tracking_period"></a> [unused\_access\_tracking\_period](#input\_unused\_access\_tracking\_period)| (Optional) A number of days for the tracking the period. Findings will be generated for access that hasn't been used in more than the specified number of days. Defaults to `90`. |`number`|`90`| no |
47
49
48
50
## Outputs
49
51
@@ -53,5 +55,7 @@ This module creates following resources.
53
55
| <aname="output_arn"></a> [arn](#output\_arn)| The Amazon Resource Name (ARN) of this Analyzer. |
54
56
| <aname="output_id"></a> [id](#output\_id)| The ID of this Analyzer. |
55
57
| <aname="output_name"></a> [name](#output\_name)| The name of the Analyzer. |
56
-
| <aname="output_type"></a> [type](#output\_type)| The type of Analyzer. |
58
+
| <aname="output_scope"></a> [scope](#output\_scope)| The scope of Analyzer. |
59
+
| <aname="output_type"></a> [type](#output\_type)| The finding type of Analyzer. |
60
+
| <aname="output_unused_access_tracking_period"></a> [unused\_access\_tracking\_period](#output\_unused\_access\_tracking\_period)| The scope of Analyzer. |
error_message="The `scope` should be one of `ACCOUNT`, `ORGANIZATION`."
27
+
}
28
+
}
29
+
30
+
variable"unused_access_tracking_period" {
31
+
description="(Optional) A number of days for the tracking the period. Findings will be generated for access that hasn't been used in more than the specified number of days. Defaults to `90`."
32
+
type=number
33
+
default=90
34
+
nullable=false
35
+
36
+
validation {
37
+
condition=alltrue([
38
+
var.unused_access_tracking_period>=1,
39
+
var.unused_access_tracking_period<=180
40
+
])
41
+
error_message="Valid value for `unused_access_tracking_period` is between 1 and 180."
0 commit comments