Terraform module to provision an github iam.
This is a list of plugins that need to be installed previously to enjoy all the goodies of this configuration:
module "main" {
source = "hadenlabs/iam/github"
version = "0.2.1"
providers = {
github = github
}
team = {
"name" = "name-team"
"description = "team description"
"privacy" = "closed"
}
maintainers = ["user-github"]
members = ["user-github"]
}Full working examples can be found in examples folder.
module "main" {
source = "hadenlabs/iam/github"
version = "0.2.1"
providers = {
github = github
}
team = {
"name" = "name-team"
"description = "team description"
"privacy" = "closed"
}
maintainers = ["user-github"]
members = ["user-github"]
}
module "main" {
source = "hadenlabs/iam/github"
version = "0.2.1"
providers = {
github = github
}
team = {
"name" = "name-team"
"description = "team description"
"privacy" = "closed"
}
permissions = [
{
repository = "name repository",
permission = "pull",
},
]
maintainers = ["user-github"]
members = ["user-github"]
}
| Name | Version |
|---|---|
| terraform | >= 0.13 |
| github | >=4.5.0 |
| Name | Version |
|---|---|
| github | >=4.5.0 |
No modules.
| Name | Type |
|---|---|
| github_team.this | resource |
| github_team_membership.maintainers | resource |
| github_team_membership.members | resource |
| github_team_repository.this | resource |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| maintainers | This members role maintainers | list(string) |
[] |
no |
| members | This members role member | list(string) |
[] |
no |
| permissions | Add permissions of repository for team | list(object({ |
[] |
no |
| team | This team to create | object({ |
n/a | yes |
| Name | Description |
|---|---|
| maintainers | instance of maintainers of team github |
| members | instance of members of team github |
| team | instance of team |
| team_members | instance of members for team github |
Got a question?
File a GitHub issue.
Please use the issue tracker to report any bugs or file feature requests.
In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow.
-
Fork the repo on GitHub
-
Clone the project to your own machine
-
Commit changes to your own branch
-
Push your work back up to your fork
-
Submit a Pull Request so that we can review your changes
NOTE: Be sure to rebase the latest changes from "upstream" before making a pull request!
This Module follows the principles of Semantic Versioning (SemVer).
Using the given version number of MAJOR.MINOR.PATCH, we apply the following constructs:
- Use the
MAJORversion for incompatible changes. - Use the
MINORversion when adding functionality in a backwards compatible manner. - Use the
PATCHversion when introducing backwards compatible bug fixes.
- In the context of initial development, backwards compatibility in versions
0.0.zis not guaranteed whenzis increased. (Initial development) - In the context of pre-release, backwards compatibility in versions
0.y.zis not guaranteed whenyis increased. (Pre-release)
Copyright Β© 2018-2021 Hadenlabs
All other trademarks referenced herein are the property of their respective owners.
The code and styles are licensed under the LGPL-3.0 license See project license..