Skip to content

Reusable, modular enterprise Infrastructure as Code (IaC) framework with Terraform, Pulumi, Ansible, Packer, Policy as Code, compliance, and testing.

License

Notifications You must be signed in to change notification settings

bharats487/iac-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enterprise IaC Framework

License: MIT Checkov

A reusable, modular Infrastructure as Code (IaC) framework for enterprise environments. This framework provides best practices, compliance, and automation using:

  • Terraform (modular infrastructure)
  • Pulumi (infrastructure as code in Python)
  • Ansible (configuration management)
  • Packer (image building)
  • Policy as Code (OPA)
  • Automated Compliance (Checkov)
  • Testing (pytest, Molecule)

Features

  • Modular, reusable infrastructure components
  • Policy as Code for governance
  • Automated compliance checks
  • Infrastructure testing framework
  • Ready for CI/CD integration

Directory Structure

modules/        # Terraform & Pulumi modules
ansible/        # Ansible playbooks and roles
packer/         # Packer image templates
policies/       # OPA/Sentinel policies
compliance/     # Compliance checks (Checkov, Inspec)
tests/          # Infrastructure tests (pytest, Molecule)
scripts/        # Helper scripts

Getting Started

1. Clone the Repo

git clone https://github.com/your-org/iac-framework.git
cd iac-framework

2. Install Requirements

3. Deploy Infrastructure

# Terraform example
cd modules/terraform/network
terraform init
terraform apply

# Pulumi example
cd modules/pulumi/network
pulumi up

4. Run Compliance & Policy Checks

checkov -d modules/terraform/
opa eval --data policies/ --input modules/terraform/network/main.tf

5. Run Infrastructure Tests

pytest tests/

License

This project is licensed under the MIT License.

Topics

  • infrastructure-as-code
  • terraform
  • pulumi
  • ansible
  • packer
  • compliance
  • policy-as-code
  • devops
  • automation

Contributing

PRs and issues are welcome! Please open an issue to discuss changes.


Maintainers


Badges

  • License: MIT
  • CI: Checkov (example badge)

For more details, see each directory's README or documentation.

About

Reusable, modular enterprise Infrastructure as Code (IaC) framework with Terraform, Pulumi, Ansible, Packer, Policy as Code, compliance, and testing.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published