AWS Config

AWS Config

Let AI connect your sources for you

Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Learn more
PostHog Wizard hedgehog

Connect AWS Config to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Sync resource configurations, rules, compliance status, and conformance packs from one AWS region.

Grant these IAM permissions for the tables you want to sync:

  • config:SelectResourceConfig
  • config:DescribeConfigRules
  • config:DescribeComplianceByConfigRule
  • config:DescribeConformancePacks

Enable an AWS Config recorder for resource inventory. The resources table contains current configurations and excludes deleted resources. Add a session token if you use temporary credentials. Replace temporary credentials when they expire.

Configuration

OptionDescription
AWS access key ID
Type: text
Required: True
AWS secret access key
Type: password
Required: True
AWS session token
Type: password
Required: False
AWS region
Type: text
Required: False

Defaults to us-east-1. Only the selected region is synced.

Linking AWS Config to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select AWS Config
  3. Fill in the required configuration fields
  4. Click Next, select the tables you want to sync, and then press Import

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
resources

Current configurations of recorded resources in the selected region. Excludes deleted resources.

Full refresh——
config_rules

AWS Config rules, their evaluation settings, and resource scopes.

Full refresh——
rule_compliance

Current compliance status and counts of noncompliant resources for each rule.

Full refresh——
conformance_packs

Conformance packs and their deployment settings in the selected region.

Full refresh——