Import Terraform Configuration
Import existing infrastructure into Terraform. In this tutorial, you will use Terraform import to manage an existing Docker container and learn important considerations to keep in mind when importing infrastructure into Terraform.
Migrate State to Terraform Cloud
Migrate an existing state file to a Terraform Cloud workspace
Manage Resources in Terraform State
Manipulate local state with the Terraform CLI. Create an EC2 instance and security group; then use the state subcommand to move a resource to another state file. Remove, taint, and re-import resources to manage state files and reconcile drift in your infrastructure.
Provision an S3 bucket and bucket objects on AWS with Terraform, and incrementally apply changes to them using Terraform's Resource Targeting feature. Target individual resources, modules, and collections of resources for changes and destruction. Explore how Terraform handles dependencies when you use resource targeting.