Terraform Associate Exam QuestionsBrowse all questions from this exam

Terraform Associate Exam - Question 148


Which parameters does terraform import require? (Choose two.)

Show Answer
Correct Answer: CD

Terraform import requires the Resource ID and the Resource address. The Resource ID is needed to identify which specific instance of a resource is being imported. The Resource address specifies the location where the imported resource should be mapped in the Terraform configuration. These are necessary to correctly map existing infrastructure to Terraform states.

Discussion

5 comments
Sign in to comment
dc_98Options: CD
Sep 1, 2022

its CD shown here: https://www.terraform.io/cli/commands/import#usage

bora4motionOptions: CD
Sep 2, 2022

this one's easy CD.

RVivekOptions: CD
Sep 27, 2022

the command is terraform import <resource address> <resource id>

shopkittyOptions: CD
Sep 10, 2022

should be C & D

Jlee7Options: CD
Jun 26, 2023

C&D for SURE!