added github.com commit reference example

This commit is contained in:
Drew Hodun 2022-02-22 11:09:22 -05:00
parent 17492285f4
commit a26b551d47
1 changed files with 1 additions and 0 deletions

View File

@ -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