Manipulating State

In this lesson we'll discuss how to manipulate Terraform state, create and import VPC, and how to use the Terraform import command.

Terraform state manipulation

It is important to understand how to manipulate Terraform states. Terraform state can be changed to enable you to do a number of operations such as import existing infrastructure into Terraform, move resources from one Terraform project to another, and correct Terraform if someone manually changes infrastructure behind Terraform’s back.

Get hands-on with 1200+ tech skills courses.