🔥 3-day streak
HashiCorp Certified: Terraform Associate (004)40 / 150
Question 40 of 150
You need to bring an existing AWS EC2 instance (instance ID i-0abc123def456) under Terraform management using the CLI-based `terraform import` command. You have already written a matching resource block named `aws_instance.web` in your configuration. Which command correctly imports the instance into your current state?
Reviewed for accuracy · Report an issueNext question