Skip to content

Commit

Permalink
github_org_teams = local.github_organization_teams
Browse files Browse the repository at this point in the history
  • Loading branch information
arnol377 committed Sep 24, 2024
1 parent 017d697 commit 59427f6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ locals {
"arnol377",
"gomez385"
]
github_organization_teams = [ for team in data.github_organization_teams.teams : team.name ]
}


Expand All @@ -26,6 +27,7 @@ module "elastic_beanstalk" {
enforce_prs = false
collaborators = local.collaborators
pull_request_bypassers = local.pull_request_bypassers
github_org_teams = local.github_organization_teams
}


Expand All @@ -45,6 +47,7 @@ module "automation-repos" {
enforce_prs = false
collaborators = local.collaborators
pull_request_bypassers = local.pull_request_bypassers
github_org_teams = local.github_organization_teams
}

# terraform-repos
Expand All @@ -62,6 +65,7 @@ module "csvd-org-management" {
enforce_prs = false
collaborators = local.collaborators
pull_request_bypassers = local.pull_request_bypassers
github_org_teams = local.github_organization_teams
}

module "external-actions" {
Expand All @@ -78,6 +82,7 @@ module "external-actions" {
enforce_prs = false
collaborators = local.collaborators
pull_request_bypassers = local.pull_request_bypassers
github_org_teams = local.github_organization_teams
}

module "github-runner-images" {
Expand All @@ -94,6 +99,7 @@ module "github-runner-images" {
enforce_prs = false
collaborators = local.collaborators
pull_request_bypassers = local.pull_request_bypassers
github_org_teams = local.github_organization_teams
}


Expand All @@ -114,6 +120,7 @@ module "centralized-actions" {
collaborators = local.collaborators
pull_request_bypassers = local.pull_request_bypassers
github_is_private = false
github_org_teams = local.github_organization_teams
}

# terraform-github-repo
Expand All @@ -131,6 +138,7 @@ module "terraform-github-repo" {
create_codeowners = false
collaborators = local.collaborators
pull_request_bypassers = local.pull_request_bypassers
github_org_teams = local.github_organization_teams
}


Expand All @@ -151,6 +159,7 @@ module "elastic_beanstalk_java" {
template_repo = "aws-beanstalk"
template_repo_org = "CSVD"
pull_request_bypassers = local.pull_request_bypassers
github_org_teams = local.github_organization_teams
}

module "elastic_beanstalk_php" {
Expand All @@ -170,6 +179,7 @@ module "elastic_beanstalk_php" {
template_repo = "aws-beanstalk"
template_repo_org = "CSVD"
pull_request_bypassers = local.pull_request_bypassers
github_org_teams = local.github_organization_teams
}

module "elastic_beanstalk_nodejs" {
Expand All @@ -189,6 +199,7 @@ module "elastic_beanstalk_nodejs" {
template_repo = "aws-beanstalk"
template_repo_org = "CSVD"
pull_request_bypassers = local.pull_request_bypassers
github_org_teams = local.github_organization_teams
}


Expand All @@ -207,6 +218,7 @@ module "test-statefile" {
enforce_prs = false
collaborators = local.collaborators
pull_request_bypassers = local.pull_request_bypassers
github_org_teams = local.github_organization_teams
}


Expand All @@ -227,6 +239,7 @@ module "elastic_beanstalk_docker" {
template_repo = "aws-beanstalk"
template_repo_org = "CSVD"
pull_request_bypassers = local.pull_request_bypassers
github_org_teams = local.github_organization_teams
}

module "beanstalk-demo" {
Expand All @@ -244,6 +257,7 @@ module "beanstalk-demo" {
is_template = true
collaborators = local.collaborators
pull_request_bypassers = local.pull_request_bypassers
github_org_teams = local.github_organization_teams
}

module "setup_terraform" {
Expand All @@ -259,6 +273,7 @@ module "setup_terraform" {
create_codeowners = false
enforce_prs = false
collaborators = local.collaborators
github_org_teams = local.github_organization_teams
}

module "setup_node" {
Expand All @@ -274,6 +289,7 @@ module "setup_node" {
create_codeowners = false
enforce_prs = false
collaborators = local.collaborators
github_org_teams = local.github_organization_teams
}

# ghe-runner
Expand All @@ -290,4 +306,5 @@ module "ghe_runners" {
create_codeowners = false
enforce_prs = false
collaborators = local.collaborators
github_org_teams = local.github_organization_teams
}

0 comments on commit 59427f6

Please sign in to comment.