What “done” looks like
When the project ends, a new engineer can open one repository and see every account, network, cluster and server you run, how it is configured, and the history of every change with its reviewer. A pull request shows a Terraform plan before anything changes. A merged pull request is applied by CI, not from a laptop.
For Kubernetes, ArgoCD keeps the cluster in line with Git. If someone changes something by hand, it shows up as drift. Kyverno policies stop the most common unsafe patterns before they run.
Built for audits as well as engineers
The same setup answers several audit questions at once. Who changed the firewall rule? The pull request. Was it reviewed? Branch protection. Can you rebuild after a disaster? Here is the code, and here is the last time we did it.
We built this model for a payments fintech: Terraform and Terragrunt on AWS, EKS for microservices, ArgoCD, Kyverno and KEDA, a Packer golden image, and Ansible for the card-processing stack.
Starting from a console-built setup
Most teams do not start from zero: the infrastructure already exists and was built by hand. Our guide Infrastructure as code with Terraform: a practical start shows the order we work in: import, state, modules, pull requests, drift checks.
Everything is standard open-source tooling in your own repositories, readable by any engineer you hire.