From a26b551d4790beb5f09b3df7d640cd7a04eeac6a Mon Sep 17 00:00:00 2001 From: Drew Hodun Date: Tue, 22 Feb 2022 11:09:22 -0500 Subject: [PATCH] added github.com commit reference example --- website/docs/language/modules/sources.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/website/docs/language/modules/sources.mdx b/website/docs/language/modules/sources.mdx index 0ca91108b..ea06f0dea 100644 --- a/website/docs/language/modules/sources.mdx +++ b/website/docs/language/modules/sources.mdx @@ -472,6 +472,7 @@ the version control sources, the sub-directory portion must be _before_ those arguments: - `git::https://example.com/network.git//modules/vpc?ref=v1.2.0` +- `github.com/hashicorp/example//modules/vpc?ref=v1.2.0` Terraform will still extract the entire package to local disk, but will read the module from the subdirectory. As a result, it is safe for a module in