Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions modules/plain-repo/repos.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ resource "github_repository" "repo" {
vulnerability_alerts = var.public_repo
delete_branch_on_merge = true
allow_auto_merge = var.allow_auto_merge
homepage_url = var.repo_type == "terraform_module" ? "https://infrahouse.github.io/${var.repo_name}" : ""
topics = var.topics

dynamic "pages" {
for_each = var.enable_pages ? [1] : []
Expand Down
6 changes: 6 additions & 0 deletions modules/plain-repo/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,9 @@ variable "enable_pages" {
default = false
nullable = false
}

variable "topics" {
description = "List of topics for the repository"
type = list(string)
default = []
}
Loading