This module creates following resources.
github_organization_custom_properties
| Name | Version |
|---|---|
| terraform | >= 1.12 |
| github | >= 6.11 |
| Name | Version |
|---|---|
| github | 6.11.1 |
No modules.
| Name | Type |
|---|---|
| github_organization_custom_properties.this | resource |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| name | (Required) The name of the custom property. | string |
n/a | yes |
| allowed_values | (Optional) A set of allowed values for the custom property. This is required if the type is SINGLE_SELECT or MULTI_SELECT. |
set(string) |
[] |
no |
| default | (Optional) The default value of the custom property. | any |
null |
no |
| description | (Optional) The description of the custom property. | string |
"" |
no |
| editable_by | (Optional) Who can edit the values of the custom property. Can be one of ORG_ACTORS or ORG_AND_REPO_ACTORS. When set to ORG_ACTORS (the default), only organization owners can edit the property values on repositories. When set to ORG_AND_REPO_ACTORS, both organization owners and repository administrators with the custom properties permission can edit the values. |
string |
"ORG_ACTORS" |
no |
| required | (Optional) Whether the custom property is required. Defaults to false. |
bool |
false |
no |
| type | (Required) The type of the custom property. Can be one of STRING, SINGLE_SELECT, MULTI_SELECT, or BOOL. Defaults to STRING. |
string |
"STRING" |
no |
| Name | Description |
|---|---|
| allowed_values | A set of allowed values for the custom property. |
| default | The default value of the custom property. |
| description | The description of the custom property. |
| editable_by | The configuration for deployment policy of the environment. |
| id | The ID of the custom property. |
| name | The name of the custom property. |
| required | Whether the custom property is required. |
| type | The type of the custom property. |