Skip to content

Commit 3bd889a

Browse files
committed
feat: add repo topics
1 parent 6d4ebe9 commit 3bd889a

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ default-properties: # OPTIONAL
8585
repositories:
8686
- name: repo-slug
8787
description: Repository description. # OPTIONAL
88+
topics: # OPTIONAL
89+
- github-topic-1
8890
visibility: public # OPTIONAL
8991
has_issues: true # OPTIONAL
9092
has_discussions: true # OPTIONAL

gh-org.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,17 @@
22
repositories:
33
- name: github-organization-as-code
44
description: Manage your GitHub organization repositories with GitOps principles using YAML configuration, GitHub Actions, AWS S3 storage, and GitHub App integration—powered by Terraform.
5+
topics:
6+
- iac
7+
- github
8+
- github-app
9+
- github-management
10+
- github-organization
11+
- github-repositories
12+
- github-workflows
13+
- gitops
14+
- terraform
15+
- terraform-backend-s3
16+
- terraform-github
17+
- terraform-github-provider
18+
- yaml-configuration

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ resource "github_repository" "repo" {
99
name = each.value.name
1010

1111
description = try(each.value.description, null)
12+
topics = try(each.value.topics, null)
1213
visibility = try(each.value.visibility, local.default_properties.visibility, null)
1314
has_issues = try(each.value.has_issues, local.default_properties.has_issues, null)
1415
has_discussions = try(each.value.has_discussions, local.default_properties.has_discussions, null)

0 commit comments

Comments
 (0)