Infrastructure as Code (IaC) integriert sich mit CI/CD, um nicht nur die Anwendungsbereitstellung zu automatisieren, sondern auch die Bereitstellung und Verwaltung der Infrastruktur — wobei Infrastrukturänderungen durch Pipelines angewendet werden, genau wie Code. Dies bringt Konsistenz, Automatisierung und Versionskontrolle in die Infrastruktur.
IaC in der 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
