nerdexam
HashiCorp

TERRAFORM-ASSOCIATE-003 · Question #112

How is terraform import run?

The correct answer is D. By an explicit call. The terraform import command is not part of any other Terraform workflow. It must be explicitly invoked by the user with the appropriate arguments, such as the resource address and the ID of the existing infrastructure to import.

Implement and maintain state

Question

How is terraform import run?

Options

  • AAs a part of terraform init
  • BAs a part of terraform plan
  • CAs a part of terraform refresh
  • DBy an explicit call
  • EAll of the above

How the community answered

(54 responses)
  • A
    2% (1)
  • B
    15% (8)
  • C
    9% (5)
  • D
    70% (38)
  • E
    4% (2)

Explanation

The terraform import command is not part of any other Terraform workflow. It must be explicitly invoked by the user with the appropriate arguments, such as the resource address and the ID of the existing infrastructure to import.

Topics

#terraform import#CLI commands#state management

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-003 Practice