nerdexam
HashiCorp

TA-002-P · Question #399

Which is the best way to specify a tag of v1.0.0 when referencing a module stored in Git (for example git::https://example.com/vpc.git)?

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

Interact with Terraform modules

Question

Which is the best way to specify a tag of v1.0.0 when referencing a module stored in Git (for example git::https://example.com/vpc.git)?

Options

  • AAppend ref=v1. 0. 0 argument to the source path
  • BAdd version = "1.0.0" parameter to module block
  • CNothing " modules stored on GitHub always default to version 1.0.0
  • DModules stored on GitHub do not support versioning

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#Git module source#Module versioning#Source URL syntax
Full TA-002-P Practice