Last active
March 8, 2020 12:12
-
-
Save soerenmartius/d0da1977e7fc7339c0dd5c4df0f8779b to your computer and use it in GitHub Desktop.
How to manage your GitHub Organization with Terraform - Repositories
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module "public_repository" { | |
source = "mineiros-io/repository/github" | |
version = "~> 0.1.0" | |
name = "public-repository" | |
homepage_url = "https://medium.com/mineiros" | |
description = "A test repository create for demonstration purpose for the How to manage your GitHub Organization with Terraform article." | |
defaults = local.public_defaults | |
branch_protections = local.default_branch_protections | |
gitignore_template = "Terraform" | |
push_team_ids = [module.team_contributors.id] | |
extra_topics = [ | |
"integrationtest", | |
"terraform" | |
] | |
} | |
module "private_repository" { | |
source = "mineiros-io/repository/github" | |
version = "~> 0.1.0" | |
name = "terraform-aws-cloudfront" | |
homepage_url = "https://medium.com/mineiros" | |
description = "A test repository create for demonstration purpose for the How to manage your GitHub Organization with Terraform article." | |
defaults = local.private_defaults | |
branch_protections = local.default_branch_protections | |
gitignore_template = "Terraform" | |
push_team_ids = [module.team_contributors.id] | |
extra_topics = [ | |
"anothertestrepository", | |
"terraform" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment