Review the Regions included in AWS Config aggregation

Include the Regions that need a central AWS Config view.

Description

An AWS Config aggregator collects data already recorded at the source. With an explicit Region list, the central view covers only those Regions.

Potential impact

An omitted active Region can hide configuration changes or compliance problems from the central review.

Remediation

For all-Region coverage, remove regions and set all_regions = true. Enable Config recording in the source accounts and Regions. For individual accounts, authorize the aggregator’s account and Region at each source. For an organization source, use AWS Organizations integration and its IAM role.

Examples

The second example replaces four named Regions with all Regions for the same account. Verify recorded data from each required Region in the central view.

Before

hcl
resource "aws_config_configuration_aggregator" "example" {
  name = "example"

  account_aggregation_source {
    account_ids = ["123456789012"]
    regions     = ["us-east-2", "us-east-1", "us-west-1", "us-west-2"]
  }
}

After

hcl
resource "aws_config_configuration_aggregator" "example" {
  name = "example"

  account_aggregation_source {
    account_ids = ["123456789012"]
    all_regions = true
  }
}

References