Which of the following module source paths does not specify a remote module?
Which of the following module source paths does not specify a remote module?
The module source path specified as source = './modules/consul' indicates a local module. This means that the module is located within the local filesystem relative to the root module. The other options specify remote modules: source = 'git::ssh://[email protected]:hashicorp/example.git' uses a Git URL, source = 'github.com/hashicorp/example' indicates a module hosted on GitHub, and source = 'hashicorp/consul/aws' uses a standard address for a module hosted remotely in the Terraform registry.
A - since its local path
A correct
question says "remote" , hence A
not remote = local
The specification of a path, indentiefies a local module. The others specify a remote path. Therefore A is the right answer.
Honestly, is Examtopics trying to troll us with their answers?
A is right answer
I would go for A see https://developer.hashicorp.com/terraform/language/modules/sources