Infrastructure as Code (IaC) CI/CD کے ساتھ مربوط ہوتا ہے تاکہ نہ صرف ایپلیکیشن deployment بلکہ بنیادی ڈھانچے کی فراہمی اور نگرانی بھی خودکار ہو — بنیادی ڈھانچے میں تبدیلیوں کو pipelines کے ذریعے apply کیا جاتا ہے، بالکل کوڈ کی طرح۔ یہ بنیادی ڈھانچے کو مطابقت، خودکاری، اور version control فراہم کرتا ہے۔
IaC CI/CD pipeline میں
Infrastructure (servers, networks, databases) defined as CODE (Terraform, CloudFormation,
etc.) and managed THROUGH CI/CD pipelines:
→ infrastructure changes go through the SAME workflow as app code (PR → review → apply)
→ the pipeline runs the IaC tool to provision/update infrastructure automatically
→ infrastructure is version-controlled, reviewed, and applied consistently
