Recall & Review
beginner
What does importing existing resources in Terraform mean?
It means bringing resources that were created outside Terraform into Terraform's control so you can manage them with Terraform.
Click to reveal answer
beginner
Why is it important to import existing resources before managing them with Terraform?Because Terraform needs to know about the resource to avoid recreating or deleting it accidentally.
Click to reveal answer
intermediate
What happens if you manage a resource in Terraform without importing it first?
Terraform may try to create a new resource or delete the existing one, causing conflicts or downtime.
Click to reveal answer
intermediate
How does importing existing resources help in team collaboration?
It ensures everyone manages the same resources through Terraform, keeping infrastructure consistent and avoiding surprises.
Click to reveal answer
advanced
Can Terraform import all types of resources automatically?No, some resources require manual import steps or are not supported for import, so you must check documentation.Click to reveal answer
What is the main purpose of importing existing resources into Terraform?
✗ Incorrect
Importing allows Terraform to take control of resources created outside Terraform to manage them safely.
What risk do you face if you don't import an existing resource before managing it with Terraform?
✗ Incorrect
Without import, Terraform doesn't know the resource exists and may try to recreate or delete it.
Which command is used to import an existing resource in Terraform?
✗ Incorrect
The 'terraform import' command brings existing resources into Terraform state.
Does Terraform automatically import all existing resources when you run 'terraform apply'?
✗ Incorrect
Terraform requires manual import of existing resources; it does not import automatically.
How does importing existing resources benefit team infrastructure management?
✗ Incorrect
Importing ensures all team members manage the same resources, keeping infrastructure consistent.
Explain why importing existing resources is important before managing them with Terraform.
Think about what happens if Terraform doesn't know about a resource.
You got /3 concepts.
Describe the risks of not importing existing resources into Terraform before applying changes.
Consider what Terraform assumes about resources it doesn't know.
You got /3 concepts.