IaC
Browse all articles, tutorials, and guides about IaC
Guides
Introduction to Packer
Learn HashiCorp Packer 1.16: install it, write HCL2 templates, build AWS AMIs and Docker images, use provisioners and variables, and follow best practices.
Introduction to Terraform
Learn Terraform 1.17 step by step: install it, write HCL, manage state, use variables and modules, set up S3 remote state with locking, and test your code.
Posts
Terraform 1.17's -minimal-refresh: 202 API Calls Down to Zero, and the Drift Goes Quiet Too
Terraform 1.17 can skip the refresh for every resource you did not change. We measured it on 202 real DigitalOcean resources: API calls went from 202 to 0 and plan time halved, and then we broke three records behind its back to see what it stops noticing.
Build a Terraform Provider for Your API with the Plugin Framework
If your product has a REST API, a Terraform provider lets people manage it as code. Here is how to build one with the modern Terraform Plugin Framework, using a real email API as the example, from client to registry.
Terraform Infrastructure as Code Best Practices
Terraform best practices for writing scalable, maintainable infrastructure as code - covering directory structure, state management, modules, and security.