Merge pull request #30574 from dhodun/doc_fix

[Docs] Added github.com commit reference example
This commit is contained in:
Craig Wright 2022-02-24 12:08:17 -08:00 committed by GitHub
commit 195adc042a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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: arguments:
- `git::https://example.com/network.git//modules/vpc?ref=v1.2.0` - `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 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 the module from the subdirectory. As a result, it is safe for a module in