4

Terraform Commands and State Management

In the previous chapters, you learned about the building blocks of the Terraform configuration language and the out-of-the-box capabilities it provides, such as multi-cloud support, extensive support for different providers, and state management. This chapter is all about the various commands you will use while working with Terraform CLI.

Each command has its own significance and purpose, and you may not use everything in regular scenarios. But there are a few commands (such as terraform init, terraform apply, and terraform destroy) that will be a part of almost every infrastructure workflow and are used as and when the need arises.

The following exam objectives will be covered in this chapter:

  • Use ...

Get HashiCorp Terraform Associate (003) Exam Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.