diff --git a/website/source/docs/modules/sources.html.markdown b/website/source/docs/modules/sources.html.markdown index f8a3dd3c7..b0a2b4d0c 100644 --- a/website/source/docs/modules/sources.html.markdown +++ b/website/source/docs/modules/sources.html.markdown @@ -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