1. Packages
  2. Github Provider
  3. API Docs
  4. OrganizationSettings
GitHub v6.7.0 published on Friday, Feb 28, 2025 by Pulumi

github.OrganizationSettings

Explore with Pulumi AI

This resource allows you to create and manage settings for a GitHub Organization.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as github from "@pulumi/github";

const test = new github.OrganizationSettings("test", {
    billingEmail: "test@example.com",
    company: "Test Company",
    blog: "https://example.com",
    email: "test@example.com",
    twitterUsername: "Test",
    location: "Test Location",
    name: "Test Name",
    description: "Test Description",
    hasOrganizationProjects: true,
    hasRepositoryProjects: true,
    defaultRepositoryPermission: "read",
    membersCanCreateRepositories: true,
    membersCanCreatePublicRepositories: true,
    membersCanCreatePrivateRepositories: true,
    membersCanCreateInternalRepositories: true,
    membersCanCreatePages: true,
    membersCanCreatePublicPages: true,
    membersCanCreatePrivatePages: true,
    membersCanForkPrivateRepositories: true,
    webCommitSignoffRequired: true,
    advancedSecurityEnabledForNewRepositories: false,
    dependabotAlertsEnabledForNewRepositories: false,
    dependabotSecurityUpdatesEnabledForNewRepositories: false,
    dependencyGraphEnabledForNewRepositories: false,
    secretScanningEnabledForNewRepositories: false,
    secretScanningPushProtectionEnabledForNewRepositories: false,
});
Copy
import pulumi
import pulumi_github as github

test = github.OrganizationSettings("test",
    billing_email="test@example.com",
    company="Test Company",
    blog="https://example.com",
    email="test@example.com",
    twitter_username="Test",
    location="Test Location",
    name="Test Name",
    description="Test Description",
    has_organization_projects=True,
    has_repository_projects=True,
    default_repository_permission="read",
    members_can_create_repositories=True,
    members_can_create_public_repositories=True,
    members_can_create_private_repositories=True,
    members_can_create_internal_repositories=True,
    members_can_create_pages=True,
    members_can_create_public_pages=True,
    members_can_create_private_pages=True,
    members_can_fork_private_repositories=True,
    web_commit_signoff_required=True,
    advanced_security_enabled_for_new_repositories=False,
    dependabot_alerts_enabled_for_new_repositories=False,
    dependabot_security_updates_enabled_for_new_repositories=False,
    dependency_graph_enabled_for_new_repositories=False,
    secret_scanning_enabled_for_new_repositories=False,
    secret_scanning_push_protection_enabled_for_new_repositories=False)
Copy
package main

import (
	"github.com/pulumi/pulumi-github/sdk/v6/go/github"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.NewOrganizationSettings(ctx, "test", &github.OrganizationSettingsArgs{
			BillingEmail:                         pulumi.String("test@example.com"),
			Company:                              pulumi.String("Test Company"),
			Blog:                                 pulumi.String("https://example.com"),
			Email:                                pulumi.String("test@example.com"),
			TwitterUsername:                      pulumi.String("Test"),
			Location:                             pulumi.String("Test Location"),
			Name:                                 pulumi.String("Test Name"),
			Description:                          pulumi.String("Test Description"),
			HasOrganizationProjects:              pulumi.Bool(true),
			HasRepositoryProjects:                pulumi.Bool(true),
			DefaultRepositoryPermission:          pulumi.String("read"),
			MembersCanCreateRepositories:         pulumi.Bool(true),
			MembersCanCreatePublicRepositories:   pulumi.Bool(true),
			MembersCanCreatePrivateRepositories:  pulumi.Bool(true),
			MembersCanCreateInternalRepositories: pulumi.Bool(true),
			MembersCanCreatePages:                pulumi.Bool(true),
			MembersCanCreatePublicPages:          pulumi.Bool(true),
			MembersCanCreatePrivatePages:         pulumi.Bool(true),
			MembersCanForkPrivateRepositories:    pulumi.Bool(true),
			WebCommitSignoffRequired:             pulumi.Bool(true),
			AdvancedSecurityEnabledForNewRepositories:             pulumi.Bool(false),
			DependabotAlertsEnabledForNewRepositories:             pulumi.Bool(false),
			DependabotSecurityUpdatesEnabledForNewRepositories:    pulumi.Bool(false),
			DependencyGraphEnabledForNewRepositories:              pulumi.Bool(false),
			SecretScanningEnabledForNewRepositories:               pulumi.Bool(false),
			SecretScanningPushProtectionEnabledForNewRepositories: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Github = Pulumi.Github;

return await Deployment.RunAsync(() => 
{
    var test = new Github.OrganizationSettings("test", new()
    {
        BillingEmail = "test@example.com",
        Company = "Test Company",
        Blog = "https://example.com",
        Email = "test@example.com",
        TwitterUsername = "Test",
        Location = "Test Location",
        Name = "Test Name",
        Description = "Test Description",
        HasOrganizationProjects = true,
        HasRepositoryProjects = true,
        DefaultRepositoryPermission = "read",
        MembersCanCreateRepositories = true,
        MembersCanCreatePublicRepositories = true,
        MembersCanCreatePrivateRepositories = true,
        MembersCanCreateInternalRepositories = true,
        MembersCanCreatePages = true,
        MembersCanCreatePublicPages = true,
        MembersCanCreatePrivatePages = true,
        MembersCanForkPrivateRepositories = true,
        WebCommitSignoffRequired = true,
        AdvancedSecurityEnabledForNewRepositories = false,
        DependabotAlertsEnabledForNewRepositories = false,
        DependabotSecurityUpdatesEnabledForNewRepositories = false,
        DependencyGraphEnabledForNewRepositories = false,
        SecretScanningEnabledForNewRepositories = false,
        SecretScanningPushProtectionEnabledForNewRepositories = false,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.github.OrganizationSettings;
import com.pulumi.github.OrganizationSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var test = new OrganizationSettings("test", OrganizationSettingsArgs.builder()
            .billingEmail("test@example.com")
            .company("Test Company")
            .blog("https://example.com")
            .email("test@example.com")
            .twitterUsername("Test")
            .location("Test Location")
            .name("Test Name")
            .description("Test Description")
            .hasOrganizationProjects(true)
            .hasRepositoryProjects(true)
            .defaultRepositoryPermission("read")
            .membersCanCreateRepositories(true)
            .membersCanCreatePublicRepositories(true)
            .membersCanCreatePrivateRepositories(true)
            .membersCanCreateInternalRepositories(true)
            .membersCanCreatePages(true)
            .membersCanCreatePublicPages(true)
            .membersCanCreatePrivatePages(true)
            .membersCanForkPrivateRepositories(true)
            .webCommitSignoffRequired(true)
            .advancedSecurityEnabledForNewRepositories(false)
            .dependabotAlertsEnabledForNewRepositories(false)
            .dependabotSecurityUpdatesEnabledForNewRepositories(false)
            .dependencyGraphEnabledForNewRepositories(false)
            .secretScanningEnabledForNewRepositories(false)
            .secretScanningPushProtectionEnabledForNewRepositories(false)
            .build());

    }
}
Copy
resources:
  test:
    type: github:OrganizationSettings
    properties:
      billingEmail: test@example.com
      company: Test Company
      blog: https://example.com
      email: test@example.com
      twitterUsername: Test
      location: Test Location
      name: Test Name
      description: Test Description
      hasOrganizationProjects: true
      hasRepositoryProjects: true
      defaultRepositoryPermission: read
      membersCanCreateRepositories: true
      membersCanCreatePublicRepositories: true
      membersCanCreatePrivateRepositories: true
      membersCanCreateInternalRepositories: true
      membersCanCreatePages: true
      membersCanCreatePublicPages: true
      membersCanCreatePrivatePages: true
      membersCanForkPrivateRepositories: true
      webCommitSignoffRequired: true
      advancedSecurityEnabledForNewRepositories: false
      dependabotAlertsEnabledForNewRepositories: false
      dependabotSecurityUpdatesEnabledForNewRepositories: false
      dependencyGraphEnabledForNewRepositories: false
      secretScanningEnabledForNewRepositories: false
      secretScanningPushProtectionEnabledForNewRepositories: false
Copy

Create OrganizationSettings Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new OrganizationSettings(name: string, args: OrganizationSettingsArgs, opts?: CustomResourceOptions);
@overload
def OrganizationSettings(resource_name: str,
                         args: OrganizationSettingsArgs,
                         opts: Optional[ResourceOptions] = None)

@overload
def OrganizationSettings(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         billing_email: Optional[str] = None,
                         location: Optional[str] = None,
                         dependabot_alerts_enabled_for_new_repositories: Optional[bool] = None,
                         members_can_create_internal_repositories: Optional[bool] = None,
                         default_repository_permission: Optional[str] = None,
                         members_can_create_pages: Optional[bool] = None,
                         dependabot_security_updates_enabled_for_new_repositories: Optional[bool] = None,
                         dependency_graph_enabled_for_new_repositories: Optional[bool] = None,
                         members_can_create_private_pages: Optional[bool] = None,
                         email: Optional[str] = None,
                         has_organization_projects: Optional[bool] = None,
                         has_repository_projects: Optional[bool] = None,
                         advanced_security_enabled_for_new_repositories: Optional[bool] = None,
                         company: Optional[str] = None,
                         blog: Optional[str] = None,
                         description: Optional[str] = None,
                         members_can_create_private_repositories: Optional[bool] = None,
                         members_can_create_public_pages: Optional[bool] = None,
                         members_can_create_public_repositories: Optional[bool] = None,
                         members_can_create_repositories: Optional[bool] = None,
                         members_can_fork_private_repositories: Optional[bool] = None,
                         name: Optional[str] = None,
                         secret_scanning_enabled_for_new_repositories: Optional[bool] = None,
                         secret_scanning_push_protection_enabled_for_new_repositories: Optional[bool] = None,
                         twitter_username: Optional[str] = None,
                         web_commit_signoff_required: Optional[bool] = None)
func NewOrganizationSettings(ctx *Context, name string, args OrganizationSettingsArgs, opts ...ResourceOption) (*OrganizationSettings, error)
public OrganizationSettings(string name, OrganizationSettingsArgs args, CustomResourceOptions? opts = null)
public OrganizationSettings(String name, OrganizationSettingsArgs args)
public OrganizationSettings(String name, OrganizationSettingsArgs args, CustomResourceOptions options)
type: github:OrganizationSettings
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. OrganizationSettingsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. OrganizationSettingsArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. OrganizationSettingsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. OrganizationSettingsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. OrganizationSettingsArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var organizationSettingsResource = new Github.OrganizationSettings("organizationSettingsResource", new()
{
    BillingEmail = "string",
    Location = "string",
    DependabotAlertsEnabledForNewRepositories = false,
    MembersCanCreateInternalRepositories = false,
    DefaultRepositoryPermission = "string",
    MembersCanCreatePages = false,
    DependabotSecurityUpdatesEnabledForNewRepositories = false,
    DependencyGraphEnabledForNewRepositories = false,
    MembersCanCreatePrivatePages = false,
    Email = "string",
    HasOrganizationProjects = false,
    HasRepositoryProjects = false,
    AdvancedSecurityEnabledForNewRepositories = false,
    Company = "string",
    Blog = "string",
    Description = "string",
    MembersCanCreatePrivateRepositories = false,
    MembersCanCreatePublicPages = false,
    MembersCanCreatePublicRepositories = false,
    MembersCanCreateRepositories = false,
    MembersCanForkPrivateRepositories = false,
    Name = "string",
    SecretScanningEnabledForNewRepositories = false,
    SecretScanningPushProtectionEnabledForNewRepositories = false,
    TwitterUsername = "string",
    WebCommitSignoffRequired = false,
});
Copy
example, err := github.NewOrganizationSettings(ctx, "organizationSettingsResource", &github.OrganizationSettingsArgs{
	BillingEmail: pulumi.String("string"),
	Location:     pulumi.String("string"),
	DependabotAlertsEnabledForNewRepositories:          pulumi.Bool(false),
	MembersCanCreateInternalRepositories:               pulumi.Bool(false),
	DefaultRepositoryPermission:                        pulumi.String("string"),
	MembersCanCreatePages:                              pulumi.Bool(false),
	DependabotSecurityUpdatesEnabledForNewRepositories: pulumi.Bool(false),
	DependencyGraphEnabledForNewRepositories:           pulumi.Bool(false),
	MembersCanCreatePrivatePages:                       pulumi.Bool(false),
	Email:                                              pulumi.String("string"),
	HasOrganizationProjects:                            pulumi.Bool(false),
	HasRepositoryProjects:                              pulumi.Bool(false),
	AdvancedSecurityEnabledForNewRepositories:          pulumi.Bool(false),
	Company:                                 pulumi.String("string"),
	Blog:                                    pulumi.String("string"),
	Description:                             pulumi.String("string"),
	MembersCanCreatePrivateRepositories:     pulumi.Bool(false),
	MembersCanCreatePublicPages:             pulumi.Bool(false),
	MembersCanCreatePublicRepositories:      pulumi.Bool(false),
	MembersCanCreateRepositories:            pulumi.Bool(false),
	MembersCanForkPrivateRepositories:       pulumi.Bool(false),
	Name:                                    pulumi.String("string"),
	SecretScanningEnabledForNewRepositories: pulumi.Bool(false),
	SecretScanningPushProtectionEnabledForNewRepositories: pulumi.Bool(false),
	TwitterUsername:          pulumi.String("string"),
	WebCommitSignoffRequired: pulumi.Bool(false),
})
Copy
var organizationSettingsResource = new OrganizationSettings("organizationSettingsResource", OrganizationSettingsArgs.builder()
    .billingEmail("string")
    .location("string")
    .dependabotAlertsEnabledForNewRepositories(false)
    .membersCanCreateInternalRepositories(false)
    .defaultRepositoryPermission("string")
    .membersCanCreatePages(false)
    .dependabotSecurityUpdatesEnabledForNewRepositories(false)
    .dependencyGraphEnabledForNewRepositories(false)
    .membersCanCreatePrivatePages(false)
    .email("string")
    .hasOrganizationProjects(false)
    .hasRepositoryProjects(false)
    .advancedSecurityEnabledForNewRepositories(false)
    .company("string")
    .blog("string")
    .description("string")
    .membersCanCreatePrivateRepositories(false)
    .membersCanCreatePublicPages(false)
    .membersCanCreatePublicRepositories(false)
    .membersCanCreateRepositories(false)
    .membersCanForkPrivateRepositories(false)
    .name("string")
    .secretScanningEnabledForNewRepositories(false)
    .secretScanningPushProtectionEnabledForNewRepositories(false)
    .twitterUsername("string")
    .webCommitSignoffRequired(false)
    .build());
Copy
organization_settings_resource = github.OrganizationSettings("organizationSettingsResource",
    billing_email="string",
    location="string",
    dependabot_alerts_enabled_for_new_repositories=False,
    members_can_create_internal_repositories=False,
    default_repository_permission="string",
    members_can_create_pages=False,
    dependabot_security_updates_enabled_for_new_repositories=False,
    dependency_graph_enabled_for_new_repositories=False,
    members_can_create_private_pages=False,
    email="string",
    has_organization_projects=False,
    has_repository_projects=False,
    advanced_security_enabled_for_new_repositories=False,
    company="string",
    blog="string",
    description="string",
    members_can_create_private_repositories=False,
    members_can_create_public_pages=False,
    members_can_create_public_repositories=False,
    members_can_create_repositories=False,
    members_can_fork_private_repositories=False,
    name="string",
    secret_scanning_enabled_for_new_repositories=False,
    secret_scanning_push_protection_enabled_for_new_repositories=False,
    twitter_username="string",
    web_commit_signoff_required=False)
Copy
const organizationSettingsResource = new github.OrganizationSettings("organizationSettingsResource", {
    billingEmail: "string",
    location: "string",
    dependabotAlertsEnabledForNewRepositories: false,
    membersCanCreateInternalRepositories: false,
    defaultRepositoryPermission: "string",
    membersCanCreatePages: false,
    dependabotSecurityUpdatesEnabledForNewRepositories: false,
    dependencyGraphEnabledForNewRepositories: false,
    membersCanCreatePrivatePages: false,
    email: "string",
    hasOrganizationProjects: false,
    hasRepositoryProjects: false,
    advancedSecurityEnabledForNewRepositories: false,
    company: "string",
    blog: "string",
    description: "string",
    membersCanCreatePrivateRepositories: false,
    membersCanCreatePublicPages: false,
    membersCanCreatePublicRepositories: false,
    membersCanCreateRepositories: false,
    membersCanForkPrivateRepositories: false,
    name: "string",
    secretScanningEnabledForNewRepositories: false,
    secretScanningPushProtectionEnabledForNewRepositories: false,
    twitterUsername: "string",
    webCommitSignoffRequired: false,
});
Copy
type: github:OrganizationSettings
properties:
    advancedSecurityEnabledForNewRepositories: false
    billingEmail: string
    blog: string
    company: string
    defaultRepositoryPermission: string
    dependabotAlertsEnabledForNewRepositories: false
    dependabotSecurityUpdatesEnabledForNewRepositories: false
    dependencyGraphEnabledForNewRepositories: false
    description: string
    email: string
    hasOrganizationProjects: false
    hasRepositoryProjects: false
    location: string
    membersCanCreateInternalRepositories: false
    membersCanCreatePages: false
    membersCanCreatePrivatePages: false
    membersCanCreatePrivateRepositories: false
    membersCanCreatePublicPages: false
    membersCanCreatePublicRepositories: false
    membersCanCreateRepositories: false
    membersCanForkPrivateRepositories: false
    name: string
    secretScanningEnabledForNewRepositories: false
    secretScanningPushProtectionEnabledForNewRepositories: false
    twitterUsername: string
    webCommitSignoffRequired: false
Copy

OrganizationSettings Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The OrganizationSettings resource accepts the following input properties:

BillingEmail This property is required. string
The billing email address for the organization.
AdvancedSecurityEnabledForNewRepositories bool
Whether or not advanced security is enabled for new repositories. Defaults to false.
Blog string
The blog URL for the organization.
Company string
The company name for the organization.
DefaultRepositoryPermission string
The default permission for organization members to create new repositories. Can be one of read, write, admin, or none. Defaults to read.
DependabotAlertsEnabledForNewRepositories bool
Whether or not dependabot alerts are enabled for new repositories. Defaults to false.
DependabotSecurityUpdatesEnabledForNewRepositories bool
Whether or not dependabot security updates are enabled for new repositories. Defaults to false.
DependencyGraphEnabledForNewRepositories bool
Whether or not dependency graph is enabled for new repositories. Defaults to false.
Description string
The description for the organization.
Email string
The email address for the organization.
HasOrganizationProjects bool
Whether or not organization projects are enabled for the organization.
HasRepositoryProjects bool
Whether or not repository projects are enabled for the organization.
Location string
The location for the organization.
MembersCanCreateInternalRepositories bool
Whether or not organization members can create new internal repositories. For Enterprise Organizations only.
MembersCanCreatePages bool
Whether or not organization members can create new pages. Defaults to true.
MembersCanCreatePrivatePages bool
Whether or not organization members can create new private pages. Defaults to true.
MembersCanCreatePrivateRepositories bool
Whether or not organization members can create new private repositories. Defaults to true.
MembersCanCreatePublicPages bool
Whether or not organization members can create new public pages. Defaults to true.
MembersCanCreatePublicRepositories bool
Whether or not organization members can create new public repositories. Defaults to true.
MembersCanCreateRepositories bool
Whether or not organization members can create new repositories. Defaults to true.
MembersCanForkPrivateRepositories bool
Whether or not organization members can fork private repositories. Defaults to false.
Name string
The name for the organization.
SecretScanningEnabledForNewRepositories bool
Whether or not secret scanning is enabled for new repositories. Defaults to false.
SecretScanningPushProtectionEnabledForNewRepositories bool
Whether or not secret scanning push protection is enabled for new repositories. Defaults to false.
TwitterUsername string
The Twitter username for the organization.
WebCommitSignoffRequired bool
Whether or not commit signatures are required for commits to the organization. Defaults to false.
BillingEmail This property is required. string
The billing email address for the organization.
AdvancedSecurityEnabledForNewRepositories bool
Whether or not advanced security is enabled for new repositories. Defaults to false.
Blog string
The blog URL for the organization.
Company string
The company name for the organization.
DefaultRepositoryPermission string
The default permission for organization members to create new repositories. Can be one of read, write, admin, or none. Defaults to read.
DependabotAlertsEnabledForNewRepositories bool
Whether or not dependabot alerts are enabled for new repositories. Defaults to false.
DependabotSecurityUpdatesEnabledForNewRepositories bool
Whether or not dependabot security updates are enabled for new repositories. Defaults to false.
DependencyGraphEnabledForNewRepositories bool
Whether or not dependency graph is enabled for new repositories. Defaults to false.
Description string
The description for the organization.
Email string
The email address for the organization.
HasOrganizationProjects bool
Whether or not organization projects are enabled for the organization.
HasRepositoryProjects bool
Whether or not repository projects are enabled for the organization.
Location string
The location for the organization.
MembersCanCreateInternalRepositories bool
Whether or not organization members can create new internal repositories. For Enterprise Organizations only.
MembersCanCreatePages bool
Whether or not organization members can create new pages. Defaults to true.
MembersCanCreatePrivatePages bool
Whether or not organization members can create new private pages. Defaults to true.
MembersCanCreatePrivateRepositories bool
Whether or not organization members can create new private repositories. Defaults to true.
MembersCanCreatePublicPages bool
Whether or not organization members can create new public pages. Defaults to true.
MembersCanCreatePublicRepositories bool
Whether or not organization members can create new public repositories. Defaults to true.
MembersCanCreateRepositories bool
Whether or not organization members can create new repositories. Defaults to true.
MembersCanForkPrivateRepositories bool
Whether or not organization members can fork private repositories. Defaults to false.
Name string
The name for the organization.
SecretScanningEnabledForNewRepositories bool
Whether or not secret scanning is enabled for new repositories. Defaults to false.
SecretScanningPushProtectionEnabledForNewRepositories bool
Whether or not secret scanning push protection is enabled for new repositories. Defaults to false.
TwitterUsername string
The Twitter username for the organization.
WebCommitSignoffRequired bool
Whether or not commit signatures are required for commits to the organization. Defaults to false.
billingEmail This property is required. String
The billing email address for the organization.
advancedSecurityEnabledForNewRepositories Boolean
Whether or not advanced security is enabled for new repositories. Defaults to false.
blog String
The blog URL for the organization.
company String
The company name for the organization.
defaultRepositoryPermission String
The default permission for organization members to create new repositories. Can be one of read, write, admin, or none. Defaults to read.
dependabotAlertsEnabledForNewRepositories Boolean
Whether or not dependabot alerts are enabled for new repositories. Defaults to false.
dependabotSecurityUpdatesEnabledForNewRepositories Boolean
Whether or not dependabot security updates are enabled for new repositories. Defaults to false.
dependencyGraphEnabledForNewRepositories Boolean
Whether or not dependency graph is enabled for new repositories. Defaults to false.
description String
The description for the organization.
email String
The email address for the organization.
hasOrganizationProjects Boolean
Whether or not organization projects are enabled for the organization.
hasRepositoryProjects Boolean
Whether or not repository projects are enabled for the organization.
location String
The location for the organization.
membersCanCreateInternalRepositories Boolean
Whether or not organization members can create new internal repositories. For Enterprise Organizations only.
membersCanCreatePages Boolean
Whether or not organization members can create new pages. Defaults to true.
membersCanCreatePrivatePages Boolean
Whether or not organization members can create new private pages. Defaults to true.
membersCanCreatePrivateRepositories Boolean
Whether or not organization members can create new private repositories. Defaults to true.
membersCanCreatePublicPages Boolean
Whether or not organization members can create new public pages. Defaults to true.
membersCanCreatePublicRepositories Boolean
Whether or not organization members can create new public repositories. Defaults to true.
membersCanCreateRepositories Boolean
Whether or not organization members can create new repositories. Defaults to true.
membersCanForkPrivateRepositories Boolean
Whether or not organization members can fork private repositories. Defaults to false.
name String
The name for the organization.
secretScanningEnabledForNewRepositories Boolean
Whether or not secret scanning is enabled for new repositories. Defaults to false.
secretScanningPushProtectionEnabledForNewRepositories Boolean
Whether or not secret scanning push protection is enabled for new repositories. Defaults to false.
twitterUsername String
The Twitter username for the organization.
webCommitSignoffRequired Boolean
Whether or not commit signatures are required for commits to the organization. Defaults to false.
billingEmail This property is required. string
The billing email address for the organization.
advancedSecurityEnabledForNewRepositories boolean
Whether or not advanced security is enabled for new repositories. Defaults to false.
blog string
The blog URL for the organization.
company string
The company name for the organization.
defaultRepositoryPermission string
The default permission for organization members to create new repositories. Can be one of read, write, admin, or none. Defaults to read.
dependabotAlertsEnabledForNewRepositories boolean
Whether or not dependabot alerts are enabled for new repositories. Defaults to false.
dependabotSecurityUpdatesEnabledForNewRepositories boolean
Whether or not dependabot security updates are enabled for new repositories. Defaults to false.
dependencyGraphEnabledForNewRepositories boolean
Whether or not dependency graph is enabled for new repositories. Defaults to false.
description string
The description for the organization.
email string
The email address for the organization.
hasOrganizationProjects boolean
Whether or not organization projects are enabled for the organization.
hasRepositoryProjects boolean
Whether or not repository projects are enabled for the organization.
location string
The location for the organization.
membersCanCreateInternalRepositories boolean
Whether or not organization members can create new internal repositories. For Enterprise Organizations only.
membersCanCreatePages boolean
Whether or not organization members can create new pages. Defaults to true.
membersCanCreatePrivatePages boolean
Whether or not organization members can create new private pages. Defaults to true.
membersCanCreatePrivateRepositories boolean
Whether or not organization members can create new private repositories. Defaults to true.
membersCanCreatePublicPages boolean
Whether or not organization members can create new public pages. Defaults to true.
membersCanCreatePublicRepositories boolean
Whether or not organization members can create new public repositories. Defaults to true.
membersCanCreateRepositories boolean
Whether or not organization members can create new repositories. Defaults to true.
membersCanForkPrivateRepositories boolean
Whether or not organization members can fork private repositories. Defaults to false.
name string
The name for the organization.
secretScanningEnabledForNewRepositories boolean
Whether or not secret scanning is enabled for new repositories. Defaults to false.
secretScanningPushProtectionEnabledForNewRepositories boolean
Whether or not secret scanning push protection is enabled for new repositories. Defaults to false.
twitterUsername string
The Twitter username for the organization.
webCommitSignoffRequired boolean
Whether or not commit signatures are required for commits to the organization. Defaults to false.
billing_email This property is required. str
The billing email address for the organization.
advanced_security_enabled_for_new_repositories bool
Whether or not advanced security is enabled for new repositories. Defaults to false.
blog str
The blog URL for the organization.
company str
The company name for the organization.
default_repository_permission str
The default permission for organization members to create new repositories. Can be one of read, write, admin, or none. Defaults to read.
dependabot_alerts_enabled_for_new_repositories bool
Whether or not dependabot alerts are enabled for new repositories. Defaults to false.
dependabot_security_updates_enabled_for_new_repositories bool
Whether or not dependabot security updates are enabled for new repositories. Defaults to false.
dependency_graph_enabled_for_new_repositories bool
Whether or not dependency graph is enabled for new repositories. Defaults to false.
description str
The description for the organization.
email str
The email address for the organization.
has_organization_projects bool
Whether or not organization projects are enabled for the organization.
has_repository_projects bool
Whether or not repository projects are enabled for the organization.
location str
The location for the organization.
members_can_create_internal_repositories bool
Whether or not organization members can create new internal repositories. For Enterprise Organizations only.
members_can_create_pages bool
Whether or not organization members can create new pages. Defaults to true.
members_can_create_private_pages bool
Whether or not organization members can create new private pages. Defaults to true.
members_can_create_private_repositories bool
Whether or not organization members can create new private repositories. Defaults to true.
members_can_create_public_pages bool
Whether or not organization members can create new public pages. Defaults to true.
members_can_create_public_repositories bool
Whether or not organization members can create new public repositories. Defaults to true.
members_can_create_repositories bool
Whether or not organization members can create new repositories. Defaults to true.
members_can_fork_private_repositories bool
Whether or not organization members can fork private repositories. Defaults to false.
name str
The name for the organization.
secret_scanning_enabled_for_new_repositories bool
Whether or not secret scanning is enabled for new repositories. Defaults to false.
secret_scanning_push_protection_enabled_for_new_repositories bool
Whether or not secret scanning push protection is enabled for new repositories. Defaults to false.
twitter_username str
The Twitter username for the organization.
web_commit_signoff_required bool
Whether or not commit signatures are required for commits to the organization. Defaults to false.
billingEmail This property is required. String
The billing email address for the organization.
advancedSecurityEnabledForNewRepositories Boolean
Whether or not advanced security is enabled for new repositories. Defaults to false.
blog String
The blog URL for the organization.
company String
The company name for the organization.
defaultRepositoryPermission String
The default permission for organization members to create new repositories. Can be one of read, write, admin, or none. Defaults to read.
dependabotAlertsEnabledForNewRepositories Boolean
Whether or not dependabot alerts are enabled for new repositories. Defaults to false.
dependabotSecurityUpdatesEnabledForNewRepositories Boolean
Whether or not dependabot security updates are enabled for new repositories. Defaults to false.
dependencyGraphEnabledForNewRepositories Boolean
Whether or not dependency graph is enabled for new repositories. Defaults to false.
description String
The description for the organization.
email String
The email address for the organization.
hasOrganizationProjects Boolean
Whether or not organization projects are enabled for the organization.
hasRepositoryProjects Boolean
Whether or not repository projects are enabled for the organization.
location String
The location for the organization.
membersCanCreateInternalRepositories Boolean
Whether or not organization members can create new internal repositories. For Enterprise Organizations only.
membersCanCreatePages Boolean
Whether or not organization members can create new pages. Defaults to true.
membersCanCreatePrivatePages Boolean
Whether or not organization members can create new private pages. Defaults to true.
membersCanCreatePrivateRepositories Boolean
Whether or not organization members can create new private repositories. Defaults to true.
membersCanCreatePublicPages Boolean
Whether or not organization members can create new public pages. Defaults to true.
membersCanCreatePublicRepositories Boolean
Whether or not organization members can create new public repositories. Defaults to true.
membersCanCreateRepositories Boolean
Whether or not organization members can create new repositories. Defaults to true.
membersCanForkPrivateRepositories Boolean
Whether or not organization members can fork private repositories. Defaults to false.
name String
The name for the organization.
secretScanningEnabledForNewRepositories Boolean
Whether or not secret scanning is enabled for new repositories. Defaults to false.
secretScanningPushProtectionEnabledForNewRepositories Boolean
Whether or not secret scanning push protection is enabled for new repositories. Defaults to false.
twitterUsername String
The Twitter username for the organization.
webCommitSignoffRequired Boolean
Whether or not commit signatures are required for commits to the organization. Defaults to false.

Outputs

All input properties are implicitly available as output properties. Additionally, the OrganizationSettings resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing OrganizationSettings Resource

Get an existing OrganizationSettings resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: OrganizationSettingsState, opts?: CustomResourceOptions): OrganizationSettings
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        advanced_security_enabled_for_new_repositories: Optional[bool] = None,
        billing_email: Optional[str] = None,
        blog: Optional[str] = None,
        company: Optional[str] = None,
        default_repository_permission: Optional[str] = None,
        dependabot_alerts_enabled_for_new_repositories: Optional[bool] = None,
        dependabot_security_updates_enabled_for_new_repositories: Optional[bool] = None,
        dependency_graph_enabled_for_new_repositories: Optional[bool] = None,
        description: Optional[str] = None,
        email: Optional[str] = None,
        has_organization_projects: Optional[bool] = None,
        has_repository_projects: Optional[bool] = None,
        location: Optional[str] = None,
        members_can_create_internal_repositories: Optional[bool] = None,
        members_can_create_pages: Optional[bool] = None,
        members_can_create_private_pages: Optional[bool] = None,
        members_can_create_private_repositories: Optional[bool] = None,
        members_can_create_public_pages: Optional[bool] = None,
        members_can_create_public_repositories: Optional[bool] = None,
        members_can_create_repositories: Optional[bool] = None,
        members_can_fork_private_repositories: Optional[bool] = None,
        name: Optional[str] = None,
        secret_scanning_enabled_for_new_repositories: Optional[bool] = None,
        secret_scanning_push_protection_enabled_for_new_repositories: Optional[bool] = None,
        twitter_username: Optional[str] = None,
        web_commit_signoff_required: Optional[bool] = None) -> OrganizationSettings
func GetOrganizationSettings(ctx *Context, name string, id IDInput, state *OrganizationSettingsState, opts ...ResourceOption) (*OrganizationSettings, error)
public static OrganizationSettings Get(string name, Input<string> id, OrganizationSettingsState? state, CustomResourceOptions? opts = null)
public static OrganizationSettings get(String name, Output<String> id, OrganizationSettingsState state, CustomResourceOptions options)
resources:  _:    type: github:OrganizationSettings    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AdvancedSecurityEnabledForNewRepositories bool
Whether or not advanced security is enabled for new repositories. Defaults to false.
BillingEmail string
The billing email address for the organization.
Blog string
The blog URL for the organization.
Company string
The company name for the organization.
DefaultRepositoryPermission string
The default permission for organization members to create new repositories. Can be one of read, write, admin, or none. Defaults to read.
DependabotAlertsEnabledForNewRepositories bool
Whether or not dependabot alerts are enabled for new repositories. Defaults to false.
DependabotSecurityUpdatesEnabledForNewRepositories bool
Whether or not dependabot security updates are enabled for new repositories. Defaults to false.
DependencyGraphEnabledForNewRepositories bool
Whether or not dependency graph is enabled for new repositories. Defaults to false.
Description string
The description for the organization.
Email string
The email address for the organization.
HasOrganizationProjects bool
Whether or not organization projects are enabled for the organization.
HasRepositoryProjects bool
Whether or not repository projects are enabled for the organization.
Location string
The location for the organization.
MembersCanCreateInternalRepositories bool
Whether or not organization members can create new internal repositories. For Enterprise Organizations only.
MembersCanCreatePages bool
Whether or not organization members can create new pages. Defaults to true.
MembersCanCreatePrivatePages bool
Whether or not organization members can create new private pages. Defaults to true.
MembersCanCreatePrivateRepositories bool
Whether or not organization members can create new private repositories. Defaults to true.
MembersCanCreatePublicPages bool
Whether or not organization members can create new public pages. Defaults to true.
MembersCanCreatePublicRepositories bool
Whether or not organization members can create new public repositories. Defaults to true.
MembersCanCreateRepositories bool
Whether or not organization members can create new repositories. Defaults to true.
MembersCanForkPrivateRepositories bool
Whether or not organization members can fork private repositories. Defaults to false.
Name string
The name for the organization.
SecretScanningEnabledForNewRepositories bool
Whether or not secret scanning is enabled for new repositories. Defaults to false.
SecretScanningPushProtectionEnabledForNewRepositories bool
Whether or not secret scanning push protection is enabled for new repositories. Defaults to false.
TwitterUsername string
The Twitter username for the organization.
WebCommitSignoffRequired bool
Whether or not commit signatures are required for commits to the organization. Defaults to false.
AdvancedSecurityEnabledForNewRepositories bool
Whether or not advanced security is enabled for new repositories. Defaults to false.
BillingEmail string
The billing email address for the organization.
Blog string
The blog URL for the organization.
Company string
The company name for the organization.
DefaultRepositoryPermission string
The default permission for organization members to create new repositories. Can be one of read, write, admin, or none. Defaults to read.
DependabotAlertsEnabledForNewRepositories bool
Whether or not dependabot alerts are enabled for new repositories. Defaults to false.
DependabotSecurityUpdatesEnabledForNewRepositories bool
Whether or not dependabot security updates are enabled for new repositories. Defaults to false.
DependencyGraphEnabledForNewRepositories bool
Whether or not dependency graph is enabled for new repositories. Defaults to false.
Description string
The description for the organization.
Email string
The email address for the organization.
HasOrganizationProjects bool
Whether or not organization projects are enabled for the organization.
HasRepositoryProjects bool
Whether or not repository projects are enabled for the organization.
Location string
The location for the organization.
MembersCanCreateInternalRepositories bool
Whether or not organization members can create new internal repositories. For Enterprise Organizations only.
MembersCanCreatePages bool
Whether or not organization members can create new pages. Defaults to true.
MembersCanCreatePrivatePages bool
Whether or not organization members can create new private pages. Defaults to true.
MembersCanCreatePrivateRepositories bool
Whether or not organization members can create new private repositories. Defaults to true.
MembersCanCreatePublicPages bool
Whether or not organization members can create new public pages. Defaults to true.
MembersCanCreatePublicRepositories bool
Whether or not organization members can create new public repositories. Defaults to true.
MembersCanCreateRepositories bool
Whether or not organization members can create new repositories. Defaults to true.
MembersCanForkPrivateRepositories bool
Whether or not organization members can fork private repositories. Defaults to false.
Name string
The name for the organization.
SecretScanningEnabledForNewRepositories bool
Whether or not secret scanning is enabled for new repositories. Defaults to false.
SecretScanningPushProtectionEnabledForNewRepositories bool
Whether or not secret scanning push protection is enabled for new repositories. Defaults to false.
TwitterUsername string
The Twitter username for the organization.
WebCommitSignoffRequired bool
Whether or not commit signatures are required for commits to the organization. Defaults to false.
advancedSecurityEnabledForNewRepositories Boolean
Whether or not advanced security is enabled for new repositories. Defaults to false.
billingEmail String
The billing email address for the organization.
blog String
The blog URL for the organization.
company String
The company name for the organization.
defaultRepositoryPermission String
The default permission for organization members to create new repositories. Can be one of read, write, admin, or none. Defaults to read.
dependabotAlertsEnabledForNewRepositories Boolean
Whether or not dependabot alerts are enabled for new repositories. Defaults to false.
dependabotSecurityUpdatesEnabledForNewRepositories Boolean
Whether or not dependabot security updates are enabled for new repositories. Defaults to false.
dependencyGraphEnabledForNewRepositories Boolean
Whether or not dependency graph is enabled for new repositories. Defaults to false.
description String
The description for the organization.
email String
The email address for the organization.
hasOrganizationProjects Boolean
Whether or not organization projects are enabled for the organization.
hasRepositoryProjects Boolean
Whether or not repository projects are enabled for the organization.
location String
The location for the organization.
membersCanCreateInternalRepositories Boolean
Whether or not organization members can create new internal repositories. For Enterprise Organizations only.
membersCanCreatePages Boolean
Whether or not organization members can create new pages. Defaults to true.
membersCanCreatePrivatePages Boolean
Whether or not organization members can create new private pages. Defaults to true.
membersCanCreatePrivateRepositories Boolean
Whether or not organization members can create new private repositories. Defaults to true.
membersCanCreatePublicPages Boolean
Whether or not organization members can create new public pages. Defaults to true.
membersCanCreatePublicRepositories Boolean
Whether or not organization members can create new public repositories. Defaults to true.
membersCanCreateRepositories Boolean
Whether or not organization members can create new repositories. Defaults to true.
membersCanForkPrivateRepositories Boolean
Whether or not organization members can fork private repositories. Defaults to false.
name String
The name for the organization.
secretScanningEnabledForNewRepositories Boolean
Whether or not secret scanning is enabled for new repositories. Defaults to false.
secretScanningPushProtectionEnabledForNewRepositories Boolean
Whether or not secret scanning push protection is enabled for new repositories. Defaults to false.
twitterUsername String
The Twitter username for the organization.
webCommitSignoffRequired Boolean
Whether or not commit signatures are required for commits to the organization. Defaults to false.
advancedSecurityEnabledForNewRepositories boolean
Whether or not advanced security is enabled for new repositories. Defaults to false.
billingEmail string
The billing email address for the organization.
blog string
The blog URL for the organization.
company string
The company name for the organization.
defaultRepositoryPermission string
The default permission for organization members to create new repositories. Can be one of read, write, admin, or none. Defaults to read.
dependabotAlertsEnabledForNewRepositories boolean
Whether or not dependabot alerts are enabled for new repositories. Defaults to false.
dependabotSecurityUpdatesEnabledForNewRepositories boolean
Whether or not dependabot security updates are enabled for new repositories. Defaults to false.
dependencyGraphEnabledForNewRepositories boolean
Whether or not dependency graph is enabled for new repositories. Defaults to false.
description string
The description for the organization.
email string
The email address for the organization.
hasOrganizationProjects boolean
Whether or not organization projects are enabled for the organization.
hasRepositoryProjects boolean
Whether or not repository projects are enabled for the organization.
location string
The location for the organization.
membersCanCreateInternalRepositories boolean
Whether or not organization members can create new internal repositories. For Enterprise Organizations only.
membersCanCreatePages boolean
Whether or not organization members can create new pages. Defaults to true.
membersCanCreatePrivatePages boolean
Whether or not organization members can create new private pages. Defaults to true.
membersCanCreatePrivateRepositories boolean
Whether or not organization members can create new private repositories. Defaults to true.
membersCanCreatePublicPages boolean
Whether or not organization members can create new public pages. Defaults to true.
membersCanCreatePublicRepositories boolean
Whether or not organization members can create new public repositories. Defaults to true.
membersCanCreateRepositories boolean
Whether or not organization members can create new repositories. Defaults to true.
membersCanForkPrivateRepositories boolean
Whether or not organization members can fork private repositories. Defaults to false.
name string
The name for the organization.
secretScanningEnabledForNewRepositories boolean
Whether or not secret scanning is enabled for new repositories. Defaults to false.
secretScanningPushProtectionEnabledForNewRepositories boolean
Whether or not secret scanning push protection is enabled for new repositories. Defaults to false.
twitterUsername string
The Twitter username for the organization.
webCommitSignoffRequired boolean
Whether or not commit signatures are required for commits to the organization. Defaults to false.
advanced_security_enabled_for_new_repositories bool
Whether or not advanced security is enabled for new repositories. Defaults to false.
billing_email str
The billing email address for the organization.
blog str
The blog URL for the organization.
company str
The company name for the organization.
default_repository_permission str
The default permission for organization members to create new repositories. Can be one of read, write, admin, or none. Defaults to read.
dependabot_alerts_enabled_for_new_repositories bool
Whether or not dependabot alerts are enabled for new repositories. Defaults to false.
dependabot_security_updates_enabled_for_new_repositories bool
Whether or not dependabot security updates are enabled for new repositories. Defaults to false.
dependency_graph_enabled_for_new_repositories bool
Whether or not dependency graph is enabled for new repositories. Defaults to false.
description str
The description for the organization.
email str
The email address for the organization.
has_organization_projects bool
Whether or not organization projects are enabled for the organization.
has_repository_projects bool
Whether or not repository projects are enabled for the organization.
location str
The location for the organization.
members_can_create_internal_repositories bool
Whether or not organization members can create new internal repositories. For Enterprise Organizations only.
members_can_create_pages bool
Whether or not organization members can create new pages. Defaults to true.
members_can_create_private_pages bool
Whether or not organization members can create new private pages. Defaults to true.
members_can_create_private_repositories bool
Whether or not organization members can create new private repositories. Defaults to true.
members_can_create_public_pages bool
Whether or not organization members can create new public pages. Defaults to true.
members_can_create_public_repositories bool
Whether or not organization members can create new public repositories. Defaults to true.
members_can_create_repositories bool
Whether or not organization members can create new repositories. Defaults to true.
members_can_fork_private_repositories bool
Whether or not organization members can fork private repositories. Defaults to false.
name str
The name for the organization.
secret_scanning_enabled_for_new_repositories bool
Whether or not secret scanning is enabled for new repositories. Defaults to false.
secret_scanning_push_protection_enabled_for_new_repositories bool
Whether or not secret scanning push protection is enabled for new repositories. Defaults to false.
twitter_username str
The Twitter username for the organization.
web_commit_signoff_required bool
Whether or not commit signatures are required for commits to the organization. Defaults to false.
advancedSecurityEnabledForNewRepositories Boolean
Whether or not advanced security is enabled for new repositories. Defaults to false.
billingEmail String
The billing email address for the organization.
blog String
The blog URL for the organization.
company String
The company name for the organization.
defaultRepositoryPermission String
The default permission for organization members to create new repositories. Can be one of read, write, admin, or none. Defaults to read.
dependabotAlertsEnabledForNewRepositories Boolean
Whether or not dependabot alerts are enabled for new repositories. Defaults to false.
dependabotSecurityUpdatesEnabledForNewRepositories Boolean
Whether or not dependabot security updates are enabled for new repositories. Defaults to false.
dependencyGraphEnabledForNewRepositories Boolean
Whether or not dependency graph is enabled for new repositories. Defaults to false.
description String
The description for the organization.
email String
The email address for the organization.
hasOrganizationProjects Boolean
Whether or not organization projects are enabled for the organization.
hasRepositoryProjects Boolean
Whether or not repository projects are enabled for the organization.
location String
The location for the organization.
membersCanCreateInternalRepositories Boolean
Whether or not organization members can create new internal repositories. For Enterprise Organizations only.
membersCanCreatePages Boolean
Whether or not organization members can create new pages. Defaults to true.
membersCanCreatePrivatePages Boolean
Whether or not organization members can create new private pages. Defaults to true.
membersCanCreatePrivateRepositories Boolean
Whether or not organization members can create new private repositories. Defaults to true.
membersCanCreatePublicPages Boolean
Whether or not organization members can create new public pages. Defaults to true.
membersCanCreatePublicRepositories Boolean
Whether or not organization members can create new public repositories. Defaults to true.
membersCanCreateRepositories Boolean
Whether or not organization members can create new repositories. Defaults to true.
membersCanForkPrivateRepositories Boolean
Whether or not organization members can fork private repositories. Defaults to false.
name String
The name for the organization.
secretScanningEnabledForNewRepositories Boolean
Whether or not secret scanning is enabled for new repositories. Defaults to false.
secretScanningPushProtectionEnabledForNewRepositories Boolean
Whether or not secret scanning push protection is enabled for new repositories. Defaults to false.
twitterUsername String
The Twitter username for the organization.
webCommitSignoffRequired Boolean
Whether or not commit signatures are required for commits to the organization. Defaults to false.

Import

Organization settings can be imported using the id of the organization. The id of the organization can be found using the get an organization API.

$ pulumi import github:index/organizationSettings:OrganizationSettings test 123456789
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
GitHub pulumi/pulumi-github
License
Apache-2.0
Notes
This Pulumi package is based on the github Terraform Provider.