From cca6e77f3c7aa61487813245de84f10f121cf06b Mon Sep 17 00:00:00 2001 From: arnol377 Date: Tue, 5 Nov 2024 18:02:53 -0500 Subject: [PATCH] removing runner workspaces --- runner_workspaces.tf | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 runner_workspaces.tf diff --git a/runner_workspaces.tf b/runner_workspaces.tf deleted file mode 100644 index 220306f..0000000 --- a/runner_workspaces.tf +++ /dev/null @@ -1,38 +0,0 @@ -locals { - runner_workspaces = [ - for repo in [ - #"csvd-common-ew", - #"csvd-dev-ew", - "csvd-test-ew" - ] : - { - description = "Workspace for ghe-runners and github-runner-image" - repo_org = "CSVD" - name = "github-runners-${repo}" - repo_topics = [ - "terraform-tools", - "github-actions" - ] - } - ] -} - -module "runner_workspaces" { - source = "HappyPathway/repo/github" - for_each = tomap({ for repo in local.runner_workspaces : repo.name => repo }) - #github_codeowners_team = "CSVD" - github_repo_description = each.value.description - repo_org = each.value.repo_org - name = each.value.name - github_repo_topics = each.value.repo_topics - template_repo = "github-runners-workspace" - template_repo_org = "CSVD" - force_name = true - create_codeowners = false - enforce_prs = true - collaborators = local.collaborators - pull_request_bypassers = local.pull_request_bypassers - github_is_private = false - github_org_teams = local.github_organization_teams -} -