How do you specify version 1.0.0?
When using a module block to reference a module stored on the public Terraform Module Registry such as:
How do you specify version 1.0.0?
A . Modules stored on the public Terraform Module Registry do not support versioning
B . Append ?ref=v1.0.0 argument to the source path
C . Add version = "1.0.0" attribute to module block
D . Nothing C modules stored on the public Terraform Module Registry always default to version 1.0.0
Answer: A
Explanation:
Reference: https://www.terraform.io/docs/language/modules/sources.html
Latest TA-002-P Dumps Valid Version with 324 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
On site you can find below code, means module does support version.
module “consul” {
source = “hashicorp/consul/aws”
version = “0.1.0”
}