HashiCorpHashiCorp
TA-002-P · Question #293
TA-002-P Question #293: Real Exam Question with Answer & Explanation
Sign in or unlock TA-002-P to reveal the answer and full explanation for question #293. The question stem and answer options stay visible for context.
Interact with Terraform modules
Question
A user has created a module called "my_test_module" and committed it to GitHub. Over time, several commits have been made with updates to the module, each tagged in GitHub with an incremental version number. Which of the following lines would be required in a module configuration block in terraform to select tagged version v1.0.4?
Options
- Asource = "git::https://example.com/my_test_module.git@tag=v1.0.4"
- Bsource = "git::https://example.com/my_test_module.git&ref=v1.0.4"
- Csource = "git::https://example.com/my_test_module.git#tag=v1.0.4"
- Dsource = "git::https://example.com/my_test_module.git?ref=v1.0.4"
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#Module source#Git modules#Module versioning