TERRAFORM-ASSOCIATE-003 · Question #93
Which of the following module source paths does not specify a remote module?
The correct answer is A. Source = "module/consul''. The module source path that does not specify a remote module is source = "module/consul". This specifies a local module, which is a module that is stored in a subdirectory of the current working directory. The other options are all examples of remote modules, which are modules…
Question
Which of the following module source paths does not specify a remote module?
Options
- ASource = "module/consul''
- BSource = `'githhub.comicrop/example''
- CSource =''[email protected]:hasicrop/example.git''
- DSource = `'hasicrop/consul/aws''
How the community answered
(68 responses)- A84% (57)
- B10% (7)
- C4% (3)
- D1% (1)
Explanation
The module source path that does not specify a remote module is source = "module/consul". This specifies a local module, which is a module that is stored in a subdirectory of the current working directory. The other options are all examples of remote modules, which are modules that are stored outside of the current working directory and can be accessed by various protocols, such as Git, HTTP, or the Terraform Registry. Remote modules are useful for sharing and reusing code across different configurations and environments.
Topics
Community Discussion
No community discussion yet for this question.