We'll cover the terraform import
command. The command import existing infrastructure resources into the terraform statefile.
Many folks do not have greenfield projects and that's fine. The terraform import
command allows you to take manually created infrastructure resources and then manage it with terraform code instead.
Commands
terraform import aws_instance.this i-123
terraform plan
Related Links
Terraform Fundamentals 101
1h 36m
Explore lesson as part of a learning path
Get full access to these great resources
All for less than the price of coffee a day