4 Provisioning with Terraform
In Chapter 3 we saw some simple provisioning, installing Nginx on our web stack. This made use of AWS EC2 user data. This “run a shell script” when the compute resource launches is configuration management and provisioning at its most basic. It’s not very flexible or repeatable.
Indeed, like many organizations, you likely have a configuration management tool like Puppet, Chef, or Ansible installed. This means you have existing configuration management modules, roles, or cookbooks that already know how to build your applications and services.
Terraform isn’t designed to replace your configuration management tool—rather, it’s made to integrate with it. Terraform’s sweet spot is the management of your infrastructure ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access