nerdexam
HashiCorp

TA-002-P · Question #253

Which one is the right way to import a local module names consul?

Sign in or unlock TA-002-P to reveal the answer and full explanation for question #253. The question stem and answer options stay visible for context.

Interact with Terraform modules

Question

Which one is the right way to import a local module names consul?

Options

  • Amodule "consul" { source = "consul"}
  • Bmodule "consul" { source = "./consul"}
  • Cmodule "consul" { source = "../consul"}
  • Dmodule "consul" { source = "module/consul"}

Unlock TA-002-P to see the answer

You've previewed enough free TA-002-P questions. Unlock TA-002-P for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Terraform Modules#Local Modules#Module Source#Relative Paths
Full TA-002-P Practice