From 160c87a3e39856e995a84bd6a2c9211c8c39aa13 Mon Sep 17 00:00:00 2001 From: Paul Hinze Date: Fri, 29 May 2015 20:45:26 -0500 Subject: [PATCH] docs: clarify ssh git module source syntax refs #2116 --- website/source/docs/modules/sources.html.markdown | 6 ++++++ 1 file changed, 6 insertions(+) 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