Valid usage for a local path:
module "example" {
source = "./module"
# Versioning for local paths is not applicable. You would control versioning with version control systems.
}
A. source = "./modulelversion=v1.0.0" is not a valid source path for specifying a module.
When specifying a module, a valid source path must include the module name and the provider, if specified. In this case, "./modulelversion=v1.0.0" is not a valid source path because it's missing the module name and "l" is an invalid character for a version.
Answer is A.
All other choices are the correct way to input the path.
Reference:
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
depal_dhir
Highly Voted 2 years, 2 months agoBere
Most Recent 10 months, 1 week agoZeppoonstream
1 year, 10 months agoG4Exams
2 years agoHizumi
2 years, 2 months ago