Skip to content

Commit

Permalink
documentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
morisil committed Sep 23, 2023
1 parent 49ae748 commit 3184e6b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
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.

0 comments on commit 3184e6b

Please sign in to comment.