File tree Expand file tree Collapse file tree
modules/github_repository Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11repos :
22 - repo : https://github.com/antonbabenko/pre-commit-terraform
3- rev : v1.75 .0
3+ rev : v1.91 .0
44 hooks :
55 - id : terraform_fmt
66 - id : terraform_docs
77 args : ['--args=--lockfile=false']
88 - id : terraform_tflint
99 - repo : https://github.com/pre-commit/pre-commit-hooks
10- rev : v4.3 .0
10+ rev : v4.6 .0
1111 hooks :
1212 - id : check-merge-conflict
1313 - id : trailing-whitespace
Original file line number Diff line number Diff line change 1- # DSODK - Terraform Module for GitHub
1+ # OpenCEPK - Terraform/OpenTofu Module for GitHub
22
3- Terraform module for creating and managing GitHub Organizations
3+ Terraform/OpenTofu module for creating and managing GitHub Organizations, Repositories, Projects and more.
44
55## Features
66
Original file line number Diff line number Diff line change 1- # DSODK - DevSecOps Dev Kit - Github Terraform Module Example
1+ # OpenCEPK - Open Cloud Engineering Platform Kit - Github Terraform Module Example
22
33Default Terraform Module Example README
44
Original file line number Diff line number Diff line change 11provider "github" {
22
3- token = var. github_token # GITHUB_TOKEN - GitHub API Auth using OAuth or Personal Access Token
4- owner = " dsodk -test-module-terraform -github" # GITHUB_OWNER - Target GitHub organization or individual user account to manage
5- # base_url = var.github_base_url # GITHUB_BASE_URL - Target GitHub base API endpoint. Required for GitHub Enterprise
3+ token = var. github_token # GITHUB_TOKEN - GitHub API Auth using OAuth or Personal Access Token
4+ owner = " opencepk -test-module-tf -github" # GITHUB_OWNER - Target GitHub organization or individual user account to manage
5+ # base_url = var.github_base_url # GITHUB_BASE_URL - Target GitHub base API endpoint. Required for GitHub Enterprise
66
77 # write_delay_ms = try(var.github_write_delay_ms, 1000) # Milliseconds to sleep between write ops for GitHub API Rate Limit
88 # read_delay_ms = try(var.github_read_delay_ms, 0) # Milliseconds to sleep between read ops for GitHub API Rate Limit
@@ -16,11 +16,11 @@ module "github_organization" {
1616 source = " ../../modules/github_organization"
1717
1818 billing_email = var. billing_email
19- company = " dsodk .io"
20- email = " module.terraform.github.test@dsodk .io"
21- name = " dsodk -test-module-terraform-github"
19+ company = " opencepk .io"
20+ email = " module.terraform.github.test@opencepk .io"
21+ name = " opencepk -test-module-terraform-github"
2222 location = " Global"
23- description = " Test github resources used in examples of this terraform module project: dsodk -module-terraform -github"
23+ description = " Test github resources used in examples of this terraform module project: opencepk -module-tf -github"
2424
2525 default_repository_permission = " read"
2626
Original file line number Diff line number Diff line change 1- # DSODK - DevSecOps Dev Kit - Github Terraform Module Example
1+ # OpenCEPK - Open Cloud Engineering Platform Kit - Github Terraform Module Example
22
33Default Terraform Module Example README
44
Original file line number Diff line number Diff line change 11provider "github" {
22
3- token = var. github_token # GITHUB_TOKEN - GitHub API Auth using OAuth or Personal Access Token
4- owner = " dsodk -test-module-terraform -github" # GITHUB_OWNER - Target GitHub organization or individual user account to manage
5- # base_url = var.github_base_url # GITHUB_BASE_URL - Target GitHub base API endpoint. Required for GitHub Enterprise
3+ token = var. github_token # GITHUB_TOKEN - GitHub API Auth using OAuth or Personal Access Token
4+ owner = " opencepk -test-module-tf -github" # GITHUB_OWNER - Target GitHub organization or individual user account to manage
5+ # base_url = var.github_base_url # GITHUB_BASE_URL - Target GitHub base API endpoint. Required for GitHub Enterprise
66
77 # write_delay_ms = try(var.github_write_delay_ms, 1000) # Milliseconds to sleep between write ops for GitHub API Rate Limit
88 # read_delay_ms = try(var.github_read_delay_ms, 0) # Milliseconds to sleep between read ops for GitHub API Rate Limit
@@ -15,9 +15,9 @@ provider "github" {
1515module "github_repository" {
1616 source = " ../../modules/github_repository"
1717
18- name = " dsodk -test-module-terraform -github-repository-example"
18+ name = " opencepk -test-module-tf -github-repository-example"
1919 visibility = " private"
20- description = " Repo created by example tests in dsodk -module-terraform -github"
20+ description = " Repo created by example tests in opencepk -module-tf -github"
2121 has_issues = true
2222 has_projects = true
2323 has_wiki = true
Original file line number Diff line number Diff line change @@ -18,6 +18,6 @@ resource "github_repository" "this" {
1818 archived = var. archived
1919 archive_on_destroy = var. archive_on_destroy
2020 # pages = try(var.pages, {})
21- topics = var. topics
21+ topics = var. topics
2222 # template = try(var.template, {})
2323}
You can’t perform that action at this time.
0 commit comments