HashiCorp Certified: Terraform Associate — Question 313
Which of the following is not valid source path for specifying a module?
Answer options
- A. source = "./modulelversion=v1.0.0"
- B. source = "github.com/hashicorp/example?ref=v1.0.0"
- C. source = "./module"
- D. source = "hashicorp/consul/aws"
Correct answer: A
Explanation
Option A is incorrect because it contains a typo with 'modulelversion' instead of a proper path format, making it invalid. The other options are correctly formatted paths for specifying a module source, either from a local directory or a remote repository.