Infrastructure as Code (IaC) integruje się z CI/CD, aby zautomatyzować nie tylko wdrażanie aplikacji, ale także inicjowanie zasobów i zarządzanie infrastrukturą — aplikując zmiany infrastruktury poprzez pipelines, podobnie jak kod. To zapewnia spójność, automatyzację i kontrolę wersji dla infrastruktury.
IaC w pipeline'ie CI/CD
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
