nerdexam
HashiCorp

TERRAFORM-ASSOCIATE-003 · Question #111

A terraform apply can not _________ infrastructure.

The correct answer is D. import. The terraform import command is used to import existing infrastructure into Terraform's state. This allows Terraform to manage and destroy the imported infrastructure as part of the configuration. The terraform import command does not modify the configuration, so the imported…

Use the core Terraform workflow

Question

A terraform apply can not _________ infrastructure.

Options

  • Achange
  • Bdestroy
  • Cprovision
  • Dimport

How the community answered

(24 responses)
  • A
    17% (4)
  • B
    8% (2)
  • C
    4% (1)
  • D
    71% (17)

Explanation

The terraform import command is used to import existing infrastructure into Terraform's state. This allows Terraform to manage and destroy the imported infrastructure as part of the configuration. The terraform import command does not modify the configuration, so the imported resources must be manually added to the configuration after the import.

Topics

#terraform apply#terraform import#CLI commands#core workflow

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-003 Practice