https://github.com/inetum-poland/terraform-github-user
Inetum Poland TF module github-user.
https://github.com/inetum-poland/terraform-github-user
github inetum poland terraform-module
Last synced: 7 months ago
JSON representation
Inetum Poland TF module github-user.
- Host: GitHub
- URL: https://github.com/inetum-poland/terraform-github-user
- Owner: Inetum-Poland
- License: mit
- Created: 2024-04-03T11:20:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-24T08:53:57.000Z (8 months ago)
- Last Synced: 2025-02-24T09:34:44.419Z (8 months ago)
- Topics: github, inetum, poland, terraform-module
- Language: HCL
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Preconfigured Terraform module for `github_user`.
[](https://github.com/Inetum-Poland/tf-module-github-user/actions/workflows/pre_commit.yml) [](https://github.com/Inetum-Poland/tf-module-github-user/actions/workflows/trufflehog.yaml)
This module creates a preconfigured GitHub user.
> [!IMPORTANT]
> __This repository uses the [Conventional Commits](https://www.conventionalcommits.org/).__
>
> For more information please see the [Conventional Commits documentation](https://www.conventionalcommits.org/en/v1.0.0/#summary).> [!IMPORTANT]
> __This repository uses the [pre-commit](https://pre-commit.com/).__
>
> Please be respectful while contributing and after cloning this repo install the pre-commit hooks.
> ```bash
> > pre-commit install --install-hooks -t pre-commit -t commit-msg
> ```
> For more information please see the [pre-commit documentation](https://pre-commit.com/).## Providers
| Name | Version |
|------|---------|
| [github](#provider\_github) | 6.2.1 |
| [terraform](#provider\_terraform) | n/a |## Requirements
| Name | Version |
|------|---------|
| [github](#requirement\_github) | ~> 6.0 |## Resources
| Name | Type |
|------|------|
| [github_membership.user](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/membership) | resource |
| [terraform_data.seat_project_code](https://registry.terraform.io/providers/hashicorp/terraform/latest/docs/resources/data) | resource |## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [role](#input\_role) | The role of the user | `string` | `"member"` | no |
| [seat\_project\_code](#input\_seat\_project\_code) | The seat project code | `string` | n/a | yes |
| [teams](#input\_teams) | The teams to add the user to |list(object({| `[]` | no |
team = any
role = string
}))
| [username](#input\_username) | The username of the user | `string` | n/a | yes |## Modules
No modules.
## Outputs
| Name | Description |
|------|-------------|
| [out](#output\_out) | User object `github_membership`. |## Contributions
This module is created by Inetum Poland. Feel free to contribute to it.