Skip to content

Commit

Permalink
Update and rename quarkus-statiq.tf to quarkus-roq.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
ia3andy authored Jun 25, 2024
1 parent 2d3df5a commit 235648b
Showing 1 changed file with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
# Create repository
resource "github_repository" "quarkus_statiq" {
name = "quarkus-statiq"
resource "github_repository" "quarkus_roq" {
name = "quarkus-roq"
description = "An extension to generate/publish static pages from your Quarkus web-app"
allow_update_branch = true
archive_on_destroy = true
delete_branch_on_merge = true
has_issues = true
has_projects = true
vulnerability_alerts = true
topics = ["quarkus-extension", "web", "static", "generate", "blog"]
topics = ["quarkus-extension", "web", "static", "ssg", "site", "generator", "generate", "blog"]
}

# Create team
resource "github_team" "quarkus_statiq" {
name = "quarkiverse-statiq"
description = "statiq team"
resource "github_team" "quarkus_roq" {
name = "quarkiverse-roq"
description = "roq team"
create_default_maintainer = false
privacy = "closed"
parent_team_id = data.github_team.quarkiverse_members.id
}

# Add team to repository
resource "github_team_repository" "quarkus_statiq" {
team_id = github_team.quarkus_statiq.id
repository = github_repository.quarkus_statiq.name
resource "github_team_repository" "quarkus_roq" {
team_id = github_team.quarkus_roq.id
repository = github_repository.quarkus_roq.name
permission = "maintain"
}

# Add users to the team
resource "github_team_membership" "quarkus_statiq" {
for_each = { for tm in ["ia3andy"] : tm => tm }
team_id = github_team.quarkus_statiq.id
resource "github_team_membership" "quarkus_roq" {
for_each = { for tm in ["ia3andy", "melloware", "mcruzdev"] : tm => tm }
team_id = github_team.quarkus_roq.id
username = each.value
role = "maintainer"
}

0 comments on commit 235648b

Please sign in to comment.