Merge pull request #2150 from hashicorp/d-module-ssh-source-example

docs: clarify ssh git module source syntax
This commit is contained in:
Radek Simko 2015-05-30 16:08:29 +01:00
commit 3093e49ea3
1 changed files with 6 additions and 0 deletions

View File

@ -124,9 +124,15 @@ to Terraform (using the forced source type syntax documented below) to use
Git:
```
// force https source
module "consul" {
source = "git::https://hashicorp.com/module.git"
}
// force ssh source
module "ami" {
source = "git::ssh://git@github.com/owner/repo.git"
}
```
URLs for Git repositories (of any protocol) support the following query