From adf2b6603a19c6eedc2aa7b9bdd0923ea9686b86 Mon Sep 17 00:00:00 2001 From: Ben Prudence Date: Thu, 24 Jan 2019 15:33:57 +0000 Subject: [PATCH] Change module source to read from Terraform reg --- examples/simple-repo-with-team-and-team-member/main.tf | 3 ++- examples/simple-repo-with-teams/main.tf | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/simple-repo-with-team-and-team-member/main.tf b/examples/simple-repo-with-team-and-team-member/main.tf index 2ae3220..2f9cd52 100644 --- a/examples/simple-repo-with-team-and-team-member/main.tf +++ b/examples/simple-repo-with-team-and-team-member/main.tf @@ -7,7 +7,8 @@ provider "github" {} # Example Repo with all teams ############################# module "test_repo" { - source = "/Users/marvelorange/GIT/OCS/terraform-github-repository" + source = "MarvelOrange/repository/github" + version = "0.1.0" repo_name = "testing-repo" repo_description = "Hello testing repo" diff --git a/examples/simple-repo-with-teams/main.tf b/examples/simple-repo-with-teams/main.tf index c61d345..9cfd9f5 100644 --- a/examples/simple-repo-with-teams/main.tf +++ b/examples/simple-repo-with-teams/main.tf @@ -7,7 +7,8 @@ provider "github" {} # Example Repo with all teams ############################# module "test_repo" { - source = "../../" + source = "MarvelOrange/repository/github" + version = "0.1.0" repo_name = "testing-repo" repo_description = "Hello testing repo"