This module creates following resources.
aws_accessanalyzer_analyzeraws_accessanalyzer_archive_rule(optional)
| Name | Version |
|---|---|
| terraform | >= 1.12 |
| aws | >= 6.12 |
| Name | Version |
|---|---|
| aws | 6.13.0 |
| Name | Source | Version |
|---|---|---|
| resource_group | tedilabs/misc/aws//modules/resource-group | ~> 0.12.0 |
| Name | Type |
|---|---|
| aws_accessanalyzer_analyzer.this | resource |
| aws_accessanalyzer_archive_rule.this | resource |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| name | (Required) The name of the Analyzer. | string |
n/a | yes |
| archive_rules | (Optional) A list of archive rules for the AccessAnalyzer Analyzer. Each item of archive_rules block as defined below.(Required) name - The name of archive rule.(Required) filters - A list of filter criterias for the archive rule. Each item of filters block as defined below.(Required) criteria - The filter criteria.(Optional) contains - Contains comparator.(Optional) exists - Exists comparator (Boolean).(Optional) eq - Equal comparator.(Optional) neq - Not Equal comparator. |
list(object({ |
[] |
no |
| internal_access_analysis | (Optional) A configurations for the INTERNAL_ACCESS type Analyzer. internal_access_analysis as defined below.(Optional) rules - A list of rules for internal access analyzer. Each item of rules block as defined below.(Required) inclusion - An inclusion rule to filter findings. inclusion as defined below.(Optional) accounts - A set of account IDs to include in the analysis. Account IDs can only be applied to the analysis rule criteria for organization-level analyzers.(Optional) resource_arns - A set of resource ARNs to include in the analysis. The analyzer will only generate findings for resources that match these ARNs.(Optional) resource_types - A set of resource types to include in the analysis. The analyzer will only generate findings for resources of these types |
object({ |
{} |
no |
| module_tags_enabled | (Optional) Whether to create AWS Resource Tags for the module informations. | bool |
true |
no |
| region | (Optional) The region in which to create the module resources. If not provided, the module resources will be created in the provider's configured region. | string |
null |
no |
| resource_group | (Optional) A configurations of Resource Group for this module. resource_group as defined below.(Optional) enabled - Whether to create Resource Group to find and group AWS resources which are created by this module. Defaults to true.(Optional) name - 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. If not provided, a name will be generated using the module name and instance name.(Optional) description - The description of Resource Group. Defaults to Managed by Terraform.. |
object({ |
{} |
no |
| scope | (Optional) A scope of Analyzer. Valid values are ACCOUNT or ORGANIZATION. Defaults to ACCOUNT. |
string |
"ACCOUNT" |
no |
| tags | (Optional) A map of tags to add to all resources. | map(string) |
{} |
no |
| type | (Optional) A finding type of Analyzer. Valid values are EXTERNAL_ACCESS, INTERNAL_ACCESS or UNUSED_ACCESS. Defaults to EXTERNAL_ACCESS. |
string |
"EXTERNAL_ACCESS" |
no |
| unused_access_analysis | (Optional) A configurations for the UNUSED_ACCESS type Analyzer. unused_access_analysis as defined below.(Optional) tracking_period - 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.(Optional) rules - A list of rules for unused access analyzer. Each item of rules block as defined below.(Required) exclusion - An exclusion rule to filter findings. exclusion as defined below.(Optional) accounts - A set of account IDs to exclude from the analysis. Account IDs can only be applied to the analysis rule criteria for organization-level analyzers.(Optional) resource_tags - A list of tag key and value pairs to exclude from the analysis. |
object({ |
{} |
no |
| Name | Description |
|---|---|
| archive_rules | A list of archive rules for the Analyzer. |
| arn | The Amazon Resource Name (ARN) of this Analyzer. |
| id | The ID of this Analyzer. |
| internal_access_analysis | The configurations for the INTERNAL_ACCESS type Analyzer. |
| name | The name of the Analyzer. |
| region | The AWS region this module resources resides in. |
| resource_group | The resource group created to manage resources in this module. |
| scope | The scope of Analyzer. |
| type | The finding type of Analyzer. |
| unused_access_analysis | The configurations for the UNUSED_ACCESS type Analyzer. |