Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions github/resource_github_organization_settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,7 @@ func resourceGithubOrganizationSettings() *schema.Resource {
"members_can_fork_private_repositories": {
Type: schema.TypeBool,
Optional: true,
Default: false,
Description: "Whether or not organization members can fork private repositories.",
Description: "Whether or not organization members can fork private repositories. When an enterprise policy controls this setting, omit this attribute to avoid API validation errors.",
},
"web_commit_signoff_required": {
Type: schema.TypeBool,
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/organization_settings.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ The following arguments are supported:
* `members_can_create_pages` - (Optional) Whether or not organization members can create new pages. Defaults to `true`.
* `members_can_create_public_pages` - (Optional) Whether or not organization members can create new public pages. Defaults to `true`.
* `members_can_create_private_pages` - (Optional) Whether or not organization members can create new private pages. Defaults to `true`.
* `members_can_fork_private_repositories` - (Optional) Whether or not organization members can fork private repositories. Defaults to `false`.
* `members_can_fork_private_repositories` - (Optional) Whether or not organization members can fork private repositories. When an enterprise policy controls this setting, omit this attribute to avoid API validation errors.
* `web_commit_signoff_required` - (Optional) Whether or not commit signatures are required for commits to the organization. Defaults to `false`.
* `advanced_security_enabled_for_new_repositories` - (Optional) Whether or not advanced security is enabled for new repositories. Defaults to `false`.
* `dependabot_alerts_enabled_for_new_repositories` - (Optional) Whether or not dependabot alerts are enabled for new repositories. Defaults to `false`.
Expand Down