diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index cf25e01..9bf564f 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -50,6 +50,7 @@ terraform-scripts/quarkus-jnosql.tf @quarkiverse/quark terraform-scripts/quarkus-jooq.tf @quarkiverse/quarkiverse-jooq terraform-scripts/quarkus-jpastreamer.tf @quarkiverse/quarkiverse-jpastreamer terraform-scripts/quarkus-jsch.tf @quarkiverse/quarkiverse-jsch +terraform-scripts/quarkus-kafka-streams-processor.tf @quarkiverse/quarkiverse-kafka-streams-processor terraform-scripts/quarkus-kerberos.tf @quarkiverse/quarkiverse-kerberos terraform-scripts/quarkus-langchain4j.tf @quarkiverse/quarkiverse-langchain4j terraform-scripts/quarkus-logging-cloudwatch.tf @quarkiverse/quarkiverse-logging-cloudwatch diff --git a/terraform-scripts/quarkus-kafka-streams-processor.tf b/terraform-scripts/quarkus-kafka-streams-processor.tf new file mode 100644 index 0000000..bd6d86a --- /dev/null +++ b/terraform-scripts/quarkus-kafka-streams-processor.tf @@ -0,0 +1,36 @@ +# Create repository +resource "github_repository" "quarkus_kafka_streams_processor" { + name = "quarkus-kafka-streams-processor" + description = "Easily build resilient Kafka Streams topologies based on the Processor API" + homepage_url = "https://docs.quarkiverse.io/quarkus-kafka-streams-processor/dev/index.html" + allow_update_branch = true + archive_on_destroy = true + delete_branch_on_merge = true + has_issues = true + vulnerability_alerts = true + topics = ["quarkus-extension", "kafka-streams", "resiliency"] +} + +# Create team +resource "github_team" "quarkus_kafka_streams_processor" { + name = "quarkiverse-kafka-streams-processor" + description = "kafka-streams-processor 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_kafka_streams_processor" { + team_id = github_team.quarkus_kafka_streams_processor.id + repository = github_repository.quarkus_kafka_streams_processor.name + permission = "maintain" +} + +# Add users to the team +resource "github_team_membership" "quarkus_kafka_streams_processor" { + for_each = { for tm in ["edeweerd1A", "flazarus1A", "lmartella1", "tryasta", "rquinio1A", "vietk"] : tm => tm } + team_id = github_team.quarkus_kafka_streams_processor.id + username = each.value + role = "maintainer" +}