Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/inetum-poland/terraform-github-organization

Inetum Poland TF module github-organization.
https://github.com/inetum-poland/terraform-github-organization

github inetum poland terraform-module

Last synced: about 1 month ago
JSON representation

Inetum Poland TF module github-organization.

Awesome Lists containing this project

README

        

# Preconfigured Terraform module for `github_organization`.

[![pre_commit](https://github.com/Inetum-Poland/tf-module-github-organization/actions/workflows/pre_commit.yml/badge.svg)](https://github.com/Inetum-Poland/tf-module-github-organization/actions/workflows/pre_commit.yml) [![trufflehog](https://github.com/Inetum-Poland/tf-module-github-organization/actions/workflows/trufflehog.yaml/badge.svg)](https://github.com/Inetum-Poland/tf-module-github-organization/actions/workflows/trufflehog.yaml)

This module creates a preconfigured GitHub organization.

> [!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.0 |

## Requirements

| Name | Version |
|------|---------|
| [github](#requirement\_github) | ~> 6.0 |

## Resources

| Name | Type |
|------|------|
| [github_organization_settings.settings](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/organization_settings) | resource |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [advanced\_security\_enabled\_for\_new\_repositories](#input\_advanced\_security\_enabled\_for\_new\_repositories) | Whether advanced security is enabled for new repositories. | `bool` | `false` | no |
| [billing\_email](#input\_billing\_email) | The email address associated with the billing account. | `string` | n/a | yes |
| [blog](#input\_blog) | The blog URL. | `string` | `""` | no |
| [default\_repository\_permission](#input\_default\_repository\_permission) | The default repository permission. | `string` | n/a | yes |
| [dependabot\_alerts\_enabled\_for\_new\_repositories](#input\_dependabot\_alerts\_enabled\_for\_new\_repositories) | Whether dependabot alerts are enabled for new repositories. | `bool` | `true` | no |
| [dependabot\_security\_updates\_enabled\_for\_new\_repositories](#input\_dependabot\_security\_updates\_enabled\_for\_new\_repositories) | Whether dependabot security updates are enabled for new repositories. | `bool` | `true` | no |
| [dependency\_graph\_enabled\_for\_new\_repositories](#input\_dependency\_graph\_enabled\_for\_new\_repositories) | Whether dependency graph is enabled for new repositories. | `bool` | `true` | no |
| [description](#input\_description) | The description of the organization. | `string` | `""` | no |
| [email](#input\_email) | The email address associated with the organization. | `string` | n/a | yes |
| [has\_organization\_projects](#input\_has\_organization\_projects) | Whether the organization has projects. | `bool` | `false` | no |
| [has\_repository\_projects](#input\_has\_repository\_projects) | Whether the organization has repository projects. | `bool` | `false` | no |
| [location](#input\_location) | The location of the organization. | `string` | `""` | no |
| [members\_can\_create\_internal\_repositories](#input\_members\_can\_create\_internal\_repositories) | Whether members can create internal repositories. | `bool` | `false` | no |
| [members\_can\_create\_pages](#input\_members\_can\_create\_pages) | Whether members can create pages. | `bool` | `false` | no |
| [members\_can\_create\_private\_pages](#input\_members\_can\_create\_private\_pages) | Whether members can create private pages. | `bool` | `false` | no |
| [members\_can\_create\_private\_repositories](#input\_members\_can\_create\_private\_repositories) | Whether members can create private repositories. | `bool` | `false` | no |
| [members\_can\_create\_public\_pages](#input\_members\_can\_create\_public\_pages) | Whether members can create public pages. | `bool` | `false` | no |
| [members\_can\_create\_public\_repositories](#input\_members\_can\_create\_public\_repositories) | Whether members can create public repositories. | `bool` | `false` | no |
| [members\_can\_create\_repositories](#input\_members\_can\_create\_repositories) | Whether members can create repositories. | `bool` | `false` | no |
| [members\_can\_fork\_private\_repositories](#input\_members\_can\_fork\_private\_repositories) | Whether members can fork private repositories. | `bool` | `false` | no |
| [name](#input\_name) | The name of the organization. | `string` | n/a | yes |
| [secret\_scanning\_enabled\_for\_new\_repositories](#input\_secret\_scanning\_enabled\_for\_new\_repositories) | Whether secret scanning is enabled for new repositories. | `bool` | `true` | no |
| [secret\_scanning\_push\_protection\_enabled\_for\_new\_repositories](#input\_secret\_scanning\_push\_protection\_enabled\_for\_new\_repositories) | Whether secret scanning push protection is enabled for new repositories. | `bool` | `true` | no |
| [twitter\_username](#input\_twitter\_username) | The twitter username. | `string` | `""` | no |
| [web\_commit\_signoff\_required](#input\_web\_commit\_signoff\_required) | Whether web commit signoff is required. | `bool` | `false` | no |

## Modules

No modules.

## Outputs

| Name | Description |
|------|-------------|
| [out](#output\_out) | Organization settings object `github_organization_settings`. |

## Contributions

This module is created by Inetum Poland. Feel free to contribute to it.