--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/f7e5ecb3-a3ab-4698-9274-0cd275207b64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You can use the git https variant for source.Something likemodule "mymodule" {source = "git::https://bitbucket.com/bla/bla.git"}That what I use for our internal GH Enterprise installation at least.
--Lowe Schmidt | +46 723 867 157
On 17 January 2017 at 19:26, Kyle Anderson <kander...@gmail.com> wrote:
I'm having a hard time using a private Bitbucket Repo as a Module Source. I've tried a variety of different syntax's to no avail. For example:module "vpc" {source = "g...@bitbucket.org:org-name/terraform-modules.git//vpc"}All of these fail with different errors that aren't specific enough to help me address the problem. I'm able to use git via ssh from my local machine without issue.Has anyone here set up a private Bitbucket Repo as a Module Source and can share the specific syntax that they used?Thank You!
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
You can use the git https variant for source.Something likemodule "mymodule" {source = "git::https://bitbucket.com/bla/bla.git"}That what I use for our internal GH Enterprise installation at least.
--Lowe Schmidt | +46 723 867 157
On 17 January 2017 at 19:26, Kyle Anderson <kander...@gmail.com> wrote:
I'm having a hard time using a private Bitbucket Repo as a Module Source. I've tried a variety of different syntax's to no avail. For example:module "vpc" {source = "g...@bitbucket.org:org-name/terraform-modules.git//vpc"}All of these fail with different errors that aren't specific enough to help me address the problem. I'm able to use git via ssh from my local machine without issue.Has anyone here set up a private Bitbucket Repo as a Module Source and can share the specific syntax that they used?Thank You!
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
What if it is a private repo ?
# Configure the Bitbucket Provider
provider "bitbucket" {
username = "GobBluthe"
password = "idoillusions" # you can also use app passwords
}
resource "bitbucket_repository" "illusions" {
owner = "theleagueofmagicians"
name = "illusions"
scm = "hg"
is_private = true
}