Skill 5.1.2
Local and registry module sources
Key Concepts
A local path begins with ./ or ../, such as source = "./modules/network". Terraform uses the files in place without downloading them, so changes take effect immediately and local modules have no version.
A registry address has the form NAMESPACE/NAME/PROVIDER for the public Terraform Registry, such as terraform-aws-modules/vpc/aws, or HOSTNAME/NAMESPACE/NAME/PROVIDER for a private registry, such as app.terraform.io/example-org/network/aws. Registry modules support the version argument. Accessing a private registry requires credentials, for example from terraform login.