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.
We'll cover the following...
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.
Create VPC
Let’s learn how to import infrastructure into Terraform that was created outside of Terraform. First,
log into AWS and go to VPC. Click the Create VPC
button, enter example
in the Name tag field and
10.0.0.0/16
as ...
Access this course and 1400+ top-rated courses and projects.