CODESEEDSign in
Explore projects
Pythonadvanceddevops

Infrastructure Drift Detector

CLI tool that compares live AWS infrastructure (via boto3) with Terraform configuration, detects drift, and generates a report.

5 steps

Project steps

  1. 01

    Terraform state parser

    Reads terraform.tfstate (JSON) for declared resources.

  2. 02

    AWS live inventory

    boto3: lists EC2, S3, RDS, IAM roles for comparison.

  3. 03

    Diff engine

    deepdiff for comparing declared vs. live attributes.

  4. 04

    Severity scoring

    Drifts classified: CRITICAL (security groups), WARNING (tags), INFO (description).

  5. 05

    Rich Report

    Color-coded table with drifted resources, changed attributes, and fix suggestions.

Recommended resources

Ready to build this?

Fork the repo on GitHub and start building. A mentor will review your code when you open a PR.

5 steps

Tech stack

Pythonboto3python-hcl2clickrichdeepdiff