Skip to content

shamimice03/terraform-github-create_repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisite

Set GITHUB_TOKEN as an environment variable on your system:

export GITHUB_TOKEN = " <token> "

Usage:

module "create_repo" {
  source  = "shamimice03/create_repo/github"
  version = "1.2.0"

  repo_name = "github-repo-01"
  repo_description = "Only for good things"
  is_public = true   # visibility
}

Commands:

terraform init
terrafom plan -auto-approve
terraform apply -auto-approve