0
0
Terraformcloud~5 mins

Why importing existing resources matters in Terraform - Quick Recap

Choose your learning style9 modes available
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?
ATo create new resources faster
BTo delete old resources automatically
CTo backup resources to the cloud
DTo let Terraform manage resources created outside of it
What risk do you face if you don't import an existing resource before managing it with Terraform?
ATerraform may recreate or delete the resource accidentally
BTerraform will ignore the resource
CTerraform will speed up deployment
DTerraform will automatically import it
Which command is used to import an existing resource in Terraform?
Aterraform init
Bterraform import
Cterraform apply
Dterraform plan
Does Terraform automatically import all existing resources when you run 'terraform apply'?
AYes, always
BOnly for supported resources
CNo, you must import manually
DOnly if you use a special flag
How does importing existing resources benefit team infrastructure management?
AIt keeps infrastructure consistent and avoids conflicts
BIt allows multiple teams to create duplicate resources
CIt removes the need for version control
DIt speeds up resource creation
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.