-
Notifications
You must be signed in to change notification settings - Fork 777
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
r/github_repository_project: add docs
- Loading branch information
Showing
2 changed files
with
46 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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--- | ||
layout: "github" | ||
page_title: "GitHub: github_repository_project" | ||
sidebar_current: "docs-github-resource-repository-project" | ||
description: |- | ||
Creates and manages projects for Github repositories | ||
--- | ||
|
||
# github_repository_project | ||
|
||
This resource allows you to create and manage projects for Github repository. | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
resource "github_repository" "example" { | ||
name = "example" | ||
description = "My awesome codebase" | ||
has_projects = true | ||
} | ||
resource "github_repository_project" "project" { | ||
name = "A Repository Project" | ||
repository = "${github_repository.example.name}" | ||
body = "This is a repository project." | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
The following arguments are supported: | ||
|
||
* `name` - (Required) The name of the project. | ||
|
||
* `repository` - (Required) The repository of the project. | ||
|
||
* `body` - (Optional) The body of the project. | ||
|
||
## Attributes Reference | ||
|
||
The following additional attributes are exported: | ||
|
||
* `url` - URL of the project |
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