diff --git a/website/docs/modules/sources.html.markdown b/website/docs/modules/sources.html.markdown index bad5abed6..e8c4b0a17 100644 --- a/website/docs/modules/sources.html.markdown +++ b/website/docs/modules/sources.html.markdown @@ -172,7 +172,7 @@ module "consul" { } ``` -You can also specify branches and version withs the ?ref query +You can also specify branches and version with the `?ref` query, and use HTTPS or SSH: ```hcl module "consul" { @@ -180,6 +180,12 @@ module "consul" { } ``` +```hcl +module "consul" { + source = "git::ssh://git@bitbucket.org/foocompany/module_name.git" +} +``` + You will need to run a `terraform get -update=true` if you want to pull the latest versions. This can be handy when you are rapidly iterating on a module in development. ## Generic Git Repository