Skip to content

adding a workspace for managing service accounts #11

Closed
wants to merge 4 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -206,3 +206,45 @@ module "ghe_runners" {
collaborators = local.collaborators
}

module "aws-service-accounts" {
source = "HappyPathway/repo/github"
github_repo_description = "Manage Repo Specific Runners"
repo_org = "arnol377"
name = "aws-service-accounts"
github_repo_topics = [
"terraform"
]
force_name = true
github_is_private = false
create_codeowners = false
enforce_prs = true
collaborators = local.collaborators
pull_request_bypassers = local.pull_request_bypassers
managed_extra_files = [
{
path = ".github/workflows/terraform-plan.yaml"
content = templatefile(
"${path.module}/workflows/terraform-plan.yaml.tpl",
{
repo_name = "aws-image-pipeline",
directory = null
git_owner = {
name = "arnol377"
email = "david.j.arnold.jr@census.gov"
}
}
)
},
{
path = ".github/workflows/terraform-apply.yaml"
content = templatefile(
"${path.module}/workflows/terraform-apply.yaml.tpl",
{
repo_name = "aws-image-pipeline",
directory = null
}
)
}
]
}

Loading