From 9684855134c7cc32aa81436afae3e626e5d902b9 Mon Sep 17 00:00:00 2001 From: Marius Tolzmann Date: Sun, 24 May 2020 19:59:43 +0200 Subject: [PATCH] Fix dependency issue when assigning teams by name --- main.tf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 2ceec5b8..8f24c14a 100644 --- a/main.tf +++ b/main.tf @@ -332,7 +332,10 @@ data "github_team" "teams" { slug = each.value.slug - depends_on = [github_repository.repository] + depends_on = [ + var.module_depends_on, + github_repository.repository, + ] } resource "github_team_repository" "team_repository_by_slug" {