Infrastructure as Code (IaC) CI/CD के साथ एकीकृत होकर न केवल application deployment को बल्कि infrastructure के provisioning और management को भी स्वचालित करता है — infrastructure परिवर्तनों को pipelines के माध्यम से लागू करता है, ठीक code की तरह। इससे infrastructure में consistency, automation, और version control आता है।
CI/CD pipeline में IaC
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
