-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,23 @@ | ||
# xemantic-terraform-github | ||
Opinionated Terraform modules to manage GitHub | ||
|
||
In case of GitHub repository creation it comes with defaults | ||
more suitable for our purposes, therefore less verbose | ||
and it also creates default branch protection rule for | ||
each repository. | ||
|
||
## Usage | ||
|
||
Add this to your `.tf` file: | ||
|
||
```terraform | ||
module "github_repository_foo" { | ||
source = "[email protected]:xemantic/xemantic-terraform-github.git//repository" | ||
owner = "<<your-github-account-or-organization>>" | ||
repository = "foo" | ||
description = "My foo repo" | ||
} | ||
``` | ||
|
||
Check out [repository/variables.tf](repository/variables.tf) for | ||
all the possible parameters. |