|
2 | 2 | layout: "github" |
3 | 3 | page_title: "GitHub: github_enterprise_private_repository_forking_setting" |
4 | 4 | description: |- |
5 | | - Manages the private repository forking policy for a GitHub Enterprise. |
| 5 | + Creates and manages the private repository forking policy for a GitHub Enterprise. |
6 | 6 | --- |
7 | 7 |
|
8 | 8 | # github_enterprise_private_repository_forking_setting |
9 | 9 |
|
10 | | -This resource manages the enterprise-level policy that controls whether and where |
11 | | -members can fork private and internal repositories within a GitHub Enterprise. |
| 10 | +This resource allows you to create and manage the private repository forking policy for a GitHub Enterprise. |
| 11 | +You must have enterprise admin access to use this resource. |
12 | 12 |
|
13 | 13 | When `setting_value` is `ENABLED`, the `policy_value` attribute controls where forks |
14 | 14 | can be created. When `DISABLED`, forking of private repositories is not allowed. |
15 | 15 | When `NO_POLICY`, individual organizations within the enterprise control their own |
16 | 16 | forking settings. |
17 | 17 |
|
18 | | -~> **Note:** You must have enterprise admin access to use this resource. |
19 | | - |
20 | 18 | ## Example Usage |
21 | 19 |
|
22 | 20 | ### Restrict forking to same organization only |
@@ -71,7 +69,11 @@ The following arguments are supported: |
71 | 69 | * `USER_ACCOUNTS` - Members can fork to their user account. |
72 | 70 | * `EVERYWHERE` - Members can fork to their user account or an organization, either inside or outside of this enterprise. |
73 | 71 |
|
74 | | -~> **Note:** Destroying this resource sets the enterprise policy to `NO_POLICY`, which allows individual organizations to control their own forking settings. It does not set the policy to `DISABLED`. |
| 72 | +**Note:** Destroying this resource sets the enterprise policy to `NO_POLICY`, which allows individual organizations to control their own forking settings. It does not set the policy to `DISABLED`. |
| 73 | + |
| 74 | +## Attributes Reference |
| 75 | + |
| 76 | +No additional attributes are exported. |
75 | 77 |
|
76 | 78 | ## Import |
77 | 79 |
|
|
0 commit comments