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 2, 2023

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

RVivekOptions: CD
Sep 27, 2023

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

bora4motionOptions: CD
Sep 2, 2023

this one's easy CD.

shopkittyOptions: CD
Sep 10, 2023

should be C & D

Jlee7
Jun 27, 2024

C&D for SURE!