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,
});
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)
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
})
}
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,
});
});
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());
}
}
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
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 string
- The unique name of the resource.
- args OrganizationSettingsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args OrganizationSettingsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OrganizationSettingsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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,
});
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),
})
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());
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)
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,
});
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
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:
- Billing
Email string - The billing email address for the organization.
- Advanced
Security boolEnabled For New Repositories - 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.
- Default
Repository stringPermission - The default permission for organization members to create new repositories. Can be one of
read
,write
,admin
, ornone
. Defaults toread
. - Dependabot
Alerts boolEnabled For New Repositories - Whether or not dependabot alerts are enabled for new repositories. Defaults to
false
. - Dependabot
Security boolUpdates Enabled For New Repositories - Whether or not dependabot security updates are enabled for new repositories. Defaults to
false
. - Dependency
Graph boolEnabled For New Repositories - 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.
- Has
Organization boolProjects - Whether or not organization projects are enabled for the organization.
- Has
Repository boolProjects - Whether or not repository projects are enabled for the organization.
- Location string
- The location for the organization.
- Members
Can boolCreate Internal Repositories - Whether or not organization members can create new internal repositories. For Enterprise Organizations only.
- Members
Can boolCreate Pages - Whether or not organization members can create new pages. Defaults to
true
. - Members
Can boolCreate Private Pages - Whether or not organization members can create new private pages. Defaults to
true
. - Members
Can boolCreate Private Repositories - Whether or not organization members can create new private repositories. Defaults to
true
. - Members
Can boolCreate Public Pages - Whether or not organization members can create new public pages. Defaults to
true
. - Members
Can boolCreate Public Repositories - Whether or not organization members can create new public repositories. Defaults to
true
. - Members
Can boolCreate Repositories - Whether or not organization members can create new repositories. Defaults to
true
. - Members
Can boolFork Private Repositories - Whether or not organization members can fork private repositories. Defaults to
false
. - Name string
- The name for the organization.
- Secret
Scanning boolEnabled For New Repositories - Whether or not secret scanning is enabled for new repositories. Defaults to
false
. - Secret
Scanning boolPush Protection Enabled For New Repositories - Whether or not secret scanning push protection is enabled for new repositories. Defaults to
false
. - Twitter
Username string - The Twitter username for the organization.
- Web
Commit boolSignoff Required - Whether or not commit signatures are required for commits to the organization. Defaults to
false
.
- Billing
Email string - The billing email address for the organization.
- Advanced
Security boolEnabled For New Repositories - 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.
- Default
Repository stringPermission - The default permission for organization members to create new repositories. Can be one of
read
,write
,admin
, ornone
. Defaults toread
. - Dependabot
Alerts boolEnabled For New Repositories - Whether or not dependabot alerts are enabled for new repositories. Defaults to
false
. - Dependabot
Security boolUpdates Enabled For New Repositories - Whether or not dependabot security updates are enabled for new repositories. Defaults to
false
. - Dependency
Graph boolEnabled For New Repositories - 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.
- Has
Organization boolProjects - Whether or not organization projects are enabled for the organization.
- Has
Repository boolProjects - Whether or not repository projects are enabled for the organization.
- Location string
- The location for the organization.
- Members
Can boolCreate Internal Repositories - Whether or not organization members can create new internal repositories. For Enterprise Organizations only.
- Members
Can boolCreate Pages - Whether or not organization members can create new pages. Defaults to
true
. - Members
Can boolCreate Private Pages - Whether or not organization members can create new private pages. Defaults to
true
. - Members
Can boolCreate Private Repositories - Whether or not organization members can create new private repositories. Defaults to
true
. - Members
Can boolCreate Public Pages - Whether or not organization members can create new public pages. Defaults to
true
. - Members
Can boolCreate Public Repositories - Whether or not organization members can create new public repositories. Defaults to
true
. - Members
Can boolCreate Repositories - Whether or not organization members can create new repositories. Defaults to
true
. - Members
Can boolFork Private Repositories - Whether or not organization members can fork private repositories. Defaults to
false
. - Name string
- The name for the organization.
- Secret
Scanning boolEnabled For New Repositories - Whether or not secret scanning is enabled for new repositories. Defaults to
false
. - Secret
Scanning boolPush Protection Enabled For New Repositories - Whether or not secret scanning push protection is enabled for new repositories. Defaults to
false
. - Twitter
Username string - The Twitter username for the organization.
- Web
Commit boolSignoff Required - Whether or not commit signatures are required for commits to the organization. Defaults to
false
.
- billing
Email String - The billing email address for the organization.
- advanced
Security BooleanEnabled For New Repositories - 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.
- default
Repository StringPermission - The default permission for organization members to create new repositories. Can be one of
read
,write
,admin
, ornone
. Defaults toread
. - dependabot
Alerts BooleanEnabled For New Repositories - Whether or not dependabot alerts are enabled for new repositories. Defaults to
false
. - dependabot
Security BooleanUpdates Enabled For New Repositories - Whether or not dependabot security updates are enabled for new repositories. Defaults to
false
. - dependency
Graph BooleanEnabled For New Repositories - 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.
- has
Organization BooleanProjects - Whether or not organization projects are enabled for the organization.
- has
Repository BooleanProjects - Whether or not repository projects are enabled for the organization.
- location String
- The location for the organization.
- members
Can BooleanCreate Internal Repositories - Whether or not organization members can create new internal repositories. For Enterprise Organizations only.
- members
Can BooleanCreate Pages - Whether or not organization members can create new pages. Defaults to
true
. - members
Can BooleanCreate Private Pages - Whether or not organization members can create new private pages. Defaults to
true
. - members
Can BooleanCreate Private Repositories - Whether or not organization members can create new private repositories. Defaults to
true
. - members
Can BooleanCreate Public Pages - Whether or not organization members can create new public pages. Defaults to
true
. - members
Can BooleanCreate Public Repositories - Whether or not organization members can create new public repositories. Defaults to
true
. - members
Can BooleanCreate Repositories - Whether or not organization members can create new repositories. Defaults to
true
. - members
Can BooleanFork Private Repositories - Whether or not organization members can fork private repositories. Defaults to
false
. - name String
- The name for the organization.
- secret
Scanning BooleanEnabled For New Repositories - Whether or not secret scanning is enabled for new repositories. Defaults to
false
. - secret
Scanning BooleanPush Protection Enabled For New Repositories - Whether or not secret scanning push protection is enabled for new repositories. Defaults to
false
. - twitter
Username String - The Twitter username for the organization.
- web
Commit BooleanSignoff Required - Whether or not commit signatures are required for commits to the organization. Defaults to
false
.
- billing
Email string - The billing email address for the organization.
- advanced
Security booleanEnabled For New Repositories - 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.
- default
Repository stringPermission - The default permission for organization members to create new repositories. Can be one of
read
,write
,admin
, ornone
. Defaults toread
. - dependabot
Alerts booleanEnabled For New Repositories - Whether or not dependabot alerts are enabled for new repositories. Defaults to
false
. - dependabot
Security booleanUpdates Enabled For New Repositories - Whether or not dependabot security updates are enabled for new repositories. Defaults to
false
. - dependency
Graph booleanEnabled For New Repositories - 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.
- has
Organization booleanProjects - Whether or not organization projects are enabled for the organization.
- has
Repository booleanProjects - Whether or not repository projects are enabled for the organization.
- location string
- The location for the organization.
- members
Can booleanCreate Internal Repositories - Whether or not organization members can create new internal repositories. For Enterprise Organizations only.
- members
Can booleanCreate Pages - Whether or not organization members can create new pages. Defaults to
true
. - members
Can booleanCreate Private Pages - Whether or not organization members can create new private pages. Defaults to
true
. - members
Can booleanCreate Private Repositories - Whether or not organization members can create new private repositories. Defaults to
true
. - members
Can booleanCreate Public Pages - Whether or not organization members can create new public pages. Defaults to
true
. - members
Can booleanCreate Public Repositories - Whether or not organization members can create new public repositories. Defaults to
true
. - members
Can booleanCreate Repositories - Whether or not organization members can create new repositories. Defaults to
true
. - members
Can booleanFork Private Repositories - Whether or not organization members can fork private repositories. Defaults to
false
. - name string
- The name for the organization.
- secret
Scanning booleanEnabled For New Repositories - Whether or not secret scanning is enabled for new repositories. Defaults to
false
. - secret
Scanning booleanPush Protection Enabled For New Repositories - Whether or not secret scanning push protection is enabled for new repositories. Defaults to
false
. - twitter
Username string - The Twitter username for the organization.
- web
Commit booleanSignoff Required - Whether or not commit signatures are required for commits to the organization. Defaults to
false
.
- billing_
email str - The billing email address for the organization.
- advanced_
security_ boolenabled_ for_ new_ repositories - 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_ strpermission - The default permission for organization members to create new repositories. Can be one of
read
,write
,admin
, ornone
. Defaults toread
. - dependabot_
alerts_ boolenabled_ for_ new_ repositories - Whether or not dependabot alerts are enabled for new repositories. Defaults to
false
. - dependabot_
security_ boolupdates_ enabled_ for_ new_ repositories - Whether or not dependabot security updates are enabled for new repositories. Defaults to
false
. - dependency_
graph_ boolenabled_ for_ new_ repositories - 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_ boolprojects - Whether or not organization projects are enabled for the organization.
- has_
repository_ boolprojects - Whether or not repository projects are enabled for the organization.
- location str
- The location for the organization.
- members_
can_ boolcreate_ internal_ repositories - Whether or not organization members can create new internal repositories. For Enterprise Organizations only.
- members_
can_ boolcreate_ pages - Whether or not organization members can create new pages. Defaults to
true
. - members_
can_ boolcreate_ private_ pages - Whether or not organization members can create new private pages. Defaults to
true
. - members_
can_ boolcreate_ private_ repositories - Whether or not organization members can create new private repositories. Defaults to
true
. - members_
can_ boolcreate_ public_ pages - Whether or not organization members can create new public pages. Defaults to
true
. - members_
can_ boolcreate_ public_ repositories - Whether or not organization members can create new public repositories. Defaults to
true
. - members_
can_ boolcreate_ repositories - Whether or not organization members can create new repositories. Defaults to
true
. - members_
can_ boolfork_ private_ repositories - Whether or not organization members can fork private repositories. Defaults to
false
. - name str
- The name for the organization.
- secret_
scanning_ boolenabled_ for_ new_ repositories - Whether or not secret scanning is enabled for new repositories. Defaults to
false
. - secret_
scanning_ boolpush_ protection_ enabled_ for_ new_ repositories - 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_ boolsignoff_ required - Whether or not commit signatures are required for commits to the organization. Defaults to
false
.
- billing
Email String - The billing email address for the organization.
- advanced
Security BooleanEnabled For New Repositories - 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.
- default
Repository StringPermission - The default permission for organization members to create new repositories. Can be one of
read
,write
,admin
, ornone
. Defaults toread
. - dependabot
Alerts BooleanEnabled For New Repositories - Whether or not dependabot alerts are enabled for new repositories. Defaults to
false
. - dependabot
Security BooleanUpdates Enabled For New Repositories - Whether or not dependabot security updates are enabled for new repositories. Defaults to
false
. - dependency
Graph BooleanEnabled For New Repositories - 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.
- has
Organization BooleanProjects - Whether or not organization projects are enabled for the organization.
- has
Repository BooleanProjects - Whether or not repository projects are enabled for the organization.
- location String
- The location for the organization.
- members
Can BooleanCreate Internal Repositories - Whether or not organization members can create new internal repositories. For Enterprise Organizations only.
- members
Can BooleanCreate Pages - Whether or not organization members can create new pages. Defaults to
true
. - members
Can BooleanCreate Private Pages - Whether or not organization members can create new private pages. Defaults to
true
. - members
Can BooleanCreate Private Repositories - Whether or not organization members can create new private repositories. Defaults to
true
. - members
Can BooleanCreate Public Pages - Whether or not organization members can create new public pages. Defaults to
true
. - members
Can BooleanCreate Public Repositories - Whether or not organization members can create new public repositories. Defaults to
true
. - members
Can BooleanCreate Repositories - Whether or not organization members can create new repositories. Defaults to
true
. - members
Can BooleanFork Private Repositories - Whether or not organization members can fork private repositories. Defaults to
false
. - name String
- The name for the organization.
- secret
Scanning BooleanEnabled For New Repositories - Whether or not secret scanning is enabled for new repositories. Defaults to
false
. - secret
Scanning BooleanPush Protection Enabled For New Repositories - Whether or not secret scanning push protection is enabled for new repositories. Defaults to
false
. - twitter
Username String - The Twitter username for the organization.
- web
Commit BooleanSignoff Required - 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)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Advanced
Security boolEnabled For New Repositories - Whether or not advanced security is enabled for new repositories. Defaults to
false
. - Billing
Email string - The billing email address for the organization.
- Blog string
- The blog URL for the organization.
- Company string
- The company name for the organization.
- Default
Repository stringPermission - The default permission for organization members to create new repositories. Can be one of
read
,write
,admin
, ornone
. Defaults toread
. - Dependabot
Alerts boolEnabled For New Repositories - Whether or not dependabot alerts are enabled for new repositories. Defaults to
false
. - Dependabot
Security boolUpdates Enabled For New Repositories - Whether or not dependabot security updates are enabled for new repositories. Defaults to
false
. - Dependency
Graph boolEnabled For New Repositories - 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.
- Has
Organization boolProjects - Whether or not organization projects are enabled for the organization.
- Has
Repository boolProjects - Whether or not repository projects are enabled for the organization.
- Location string
- The location for the organization.
- Members
Can boolCreate Internal Repositories - Whether or not organization members can create new internal repositories. For Enterprise Organizations only.
- Members
Can boolCreate Pages - Whether or not organization members can create new pages. Defaults to
true
. - Members
Can boolCreate Private Pages - Whether or not organization members can create new private pages. Defaults to
true
. - Members
Can boolCreate Private Repositories - Whether or not organization members can create new private repositories. Defaults to
true
. - Members
Can boolCreate Public Pages - Whether or not organization members can create new public pages. Defaults to
true
. - Members
Can boolCreate Public Repositories - Whether or not organization members can create new public repositories. Defaults to
true
. - Members
Can boolCreate Repositories - Whether or not organization members can create new repositories. Defaults to
true
. - Members
Can boolFork Private Repositories - Whether or not organization members can fork private repositories. Defaults to
false
. - Name string
- The name for the organization.
- Secret
Scanning boolEnabled For New Repositories - Whether or not secret scanning is enabled for new repositories. Defaults to
false
. - Secret
Scanning boolPush Protection Enabled For New Repositories - Whether or not secret scanning push protection is enabled for new repositories. Defaults to
false
. - Twitter
Username string - The Twitter username for the organization.
- Web
Commit boolSignoff Required - Whether or not commit signatures are required for commits to the organization. Defaults to
false
.
- Advanced
Security boolEnabled For New Repositories - Whether or not advanced security is enabled for new repositories. Defaults to
false
. - Billing
Email string - The billing email address for the organization.
- Blog string
- The blog URL for the organization.
- Company string
- The company name for the organization.
- Default
Repository stringPermission - The default permission for organization members to create new repositories. Can be one of
read
,write
,admin
, ornone
. Defaults toread
. - Dependabot
Alerts boolEnabled For New Repositories - Whether or not dependabot alerts are enabled for new repositories. Defaults to
false
. - Dependabot
Security boolUpdates Enabled For New Repositories - Whether or not dependabot security updates are enabled for new repositories. Defaults to
false
. - Dependency
Graph boolEnabled For New Repositories - 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.
- Has
Organization boolProjects - Whether or not organization projects are enabled for the organization.
- Has
Repository boolProjects - Whether or not repository projects are enabled for the organization.
- Location string
- The location for the organization.
- Members
Can boolCreate Internal Repositories - Whether or not organization members can create new internal repositories. For Enterprise Organizations only.
- Members
Can boolCreate Pages - Whether or not organization members can create new pages. Defaults to
true
. - Members
Can boolCreate Private Pages - Whether or not organization members can create new private pages. Defaults to
true
. - Members
Can boolCreate Private Repositories - Whether or not organization members can create new private repositories. Defaults to
true
. - Members
Can boolCreate Public Pages - Whether or not organization members can create new public pages. Defaults to
true
. - Members
Can boolCreate Public Repositories - Whether or not organization members can create new public repositories. Defaults to
true
. - Members
Can boolCreate Repositories - Whether or not organization members can create new repositories. Defaults to
true
. - Members
Can boolFork Private Repositories - Whether or not organization members can fork private repositories. Defaults to
false
. - Name string
- The name for the organization.
- Secret
Scanning boolEnabled For New Repositories - Whether or not secret scanning is enabled for new repositories. Defaults to
false
. - Secret
Scanning boolPush Protection Enabled For New Repositories - Whether or not secret scanning push protection is enabled for new repositories. Defaults to
false
. - Twitter
Username string - The Twitter username for the organization.
- Web
Commit boolSignoff Required - Whether or not commit signatures are required for commits to the organization. Defaults to
false
.
- advanced
Security BooleanEnabled For New Repositories - Whether or not advanced security is enabled for new repositories. Defaults to
false
. - billing
Email String - The billing email address for the organization.
- blog String
- The blog URL for the organization.
- company String
- The company name for the organization.
- default
Repository StringPermission - The default permission for organization members to create new repositories. Can be one of
read
,write
,admin
, ornone
. Defaults toread
. - dependabot
Alerts BooleanEnabled For New Repositories - Whether or not dependabot alerts are enabled for new repositories. Defaults to
false
. - dependabot
Security BooleanUpdates Enabled For New Repositories - Whether or not dependabot security updates are enabled for new repositories. Defaults to
false
. - dependency
Graph BooleanEnabled For New Repositories - 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.
- has
Organization BooleanProjects - Whether or not organization projects are enabled for the organization.
- has
Repository BooleanProjects - Whether or not repository projects are enabled for the organization.
- location String
- The location for the organization.
- members
Can BooleanCreate Internal Repositories - Whether or not organization members can create new internal repositories. For Enterprise Organizations only.
- members
Can BooleanCreate Pages - Whether or not organization members can create new pages. Defaults to
true
. - members
Can BooleanCreate Private Pages - Whether or not organization members can create new private pages. Defaults to
true
. - members
Can BooleanCreate Private Repositories - Whether or not organization members can create new private repositories. Defaults to
true
. - members
Can BooleanCreate Public Pages - Whether or not organization members can create new public pages. Defaults to
true
. - members
Can BooleanCreate Public Repositories - Whether or not organization members can create new public repositories. Defaults to
true
. - members
Can BooleanCreate Repositories - Whether or not organization members can create new repositories. Defaults to
true
. - members
Can BooleanFork Private Repositories - Whether or not organization members can fork private repositories. Defaults to
false
. - name String
- The name for the organization.
- secret
Scanning BooleanEnabled For New Repositories - Whether or not secret scanning is enabled for new repositories. Defaults to
false
. - secret
Scanning BooleanPush Protection Enabled For New Repositories - Whether or not secret scanning push protection is enabled for new repositories. Defaults to
false
. - twitter
Username String - The Twitter username for the organization.
- web
Commit BooleanSignoff Required - Whether or not commit signatures are required for commits to the organization. Defaults to
false
.
- advanced
Security booleanEnabled For New Repositories - Whether or not advanced security is enabled for new repositories. Defaults to
false
. - billing
Email string - The billing email address for the organization.
- blog string
- The blog URL for the organization.
- company string
- The company name for the organization.
- default
Repository stringPermission - The default permission for organization members to create new repositories. Can be one of
read
,write
,admin
, ornone
. Defaults toread
. - dependabot
Alerts booleanEnabled For New Repositories - Whether or not dependabot alerts are enabled for new repositories. Defaults to
false
. - dependabot
Security booleanUpdates Enabled For New Repositories - Whether or not dependabot security updates are enabled for new repositories. Defaults to
false
. - dependency
Graph booleanEnabled For New Repositories - 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.
- has
Organization booleanProjects - Whether or not organization projects are enabled for the organization.
- has
Repository booleanProjects - Whether or not repository projects are enabled for the organization.
- location string
- The location for the organization.
- members
Can booleanCreate Internal Repositories - Whether or not organization members can create new internal repositories. For Enterprise Organizations only.
- members
Can booleanCreate Pages - Whether or not organization members can create new pages. Defaults to
true
. - members
Can booleanCreate Private Pages - Whether or not organization members can create new private pages. Defaults to
true
. - members
Can booleanCreate Private Repositories - Whether or not organization members can create new private repositories. Defaults to
true
. - members
Can booleanCreate Public Pages - Whether or not organization members can create new public pages. Defaults to
true
. - members
Can booleanCreate Public Repositories - Whether or not organization members can create new public repositories. Defaults to
true
. - members
Can booleanCreate Repositories - Whether or not organization members can create new repositories. Defaults to
true
. - members
Can booleanFork Private Repositories - Whether or not organization members can fork private repositories. Defaults to
false
. - name string
- The name for the organization.
- secret
Scanning booleanEnabled For New Repositories - Whether or not secret scanning is enabled for new repositories. Defaults to
false
. - secret
Scanning booleanPush Protection Enabled For New Repositories - Whether or not secret scanning push protection is enabled for new repositories. Defaults to
false
. - twitter
Username string - The Twitter username for the organization.
- web
Commit booleanSignoff Required - Whether or not commit signatures are required for commits to the organization. Defaults to
false
.
- advanced_
security_ boolenabled_ for_ new_ repositories - 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_ strpermission - The default permission for organization members to create new repositories. Can be one of
read
,write
,admin
, ornone
. Defaults toread
. - dependabot_
alerts_ boolenabled_ for_ new_ repositories - Whether or not dependabot alerts are enabled for new repositories. Defaults to
false
. - dependabot_
security_ boolupdates_ enabled_ for_ new_ repositories - Whether or not dependabot security updates are enabled for new repositories. Defaults to
false
. - dependency_
graph_ boolenabled_ for_ new_ repositories - 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_ boolprojects - Whether or not organization projects are enabled for the organization.
- has_
repository_ boolprojects - Whether or not repository projects are enabled for the organization.
- location str
- The location for the organization.
- members_
can_ boolcreate_ internal_ repositories - Whether or not organization members can create new internal repositories. For Enterprise Organizations only.
- members_
can_ boolcreate_ pages - Whether or not organization members can create new pages. Defaults to
true
. - members_
can_ boolcreate_ private_ pages - Whether or not organization members can create new private pages. Defaults to
true
. - members_
can_ boolcreate_ private_ repositories - Whether or not organization members can create new private repositories. Defaults to
true
. - members_
can_ boolcreate_ public_ pages - Whether or not organization members can create new public pages. Defaults to
true
. - members_
can_ boolcreate_ public_ repositories - Whether or not organization members can create new public repositories. Defaults to
true
. - members_
can_ boolcreate_ repositories - Whether or not organization members can create new repositories. Defaults to
true
. - members_
can_ boolfork_ private_ repositories - Whether or not organization members can fork private repositories. Defaults to
false
. - name str
- The name for the organization.
- secret_
scanning_ boolenabled_ for_ new_ repositories - Whether or not secret scanning is enabled for new repositories. Defaults to
false
. - secret_
scanning_ boolpush_ protection_ enabled_ for_ new_ repositories - 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_ boolsignoff_ required - Whether or not commit signatures are required for commits to the organization. Defaults to
false
.
- advanced
Security BooleanEnabled For New Repositories - Whether or not advanced security is enabled for new repositories. Defaults to
false
. - billing
Email String - The billing email address for the organization.
- blog String
- The blog URL for the organization.
- company String
- The company name for the organization.
- default
Repository StringPermission - The default permission for organization members to create new repositories. Can be one of
read
,write
,admin
, ornone
. Defaults toread
. - dependabot
Alerts BooleanEnabled For New Repositories - Whether or not dependabot alerts are enabled for new repositories. Defaults to
false
. - dependabot
Security BooleanUpdates Enabled For New Repositories - Whether or not dependabot security updates are enabled for new repositories. Defaults to
false
. - dependency
Graph BooleanEnabled For New Repositories - 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.
- has
Organization BooleanProjects - Whether or not organization projects are enabled for the organization.
- has
Repository BooleanProjects - Whether or not repository projects are enabled for the organization.
- location String
- The location for the organization.
- members
Can BooleanCreate Internal Repositories - Whether or not organization members can create new internal repositories. For Enterprise Organizations only.
- members
Can BooleanCreate Pages - Whether or not organization members can create new pages. Defaults to
true
. - members
Can BooleanCreate Private Pages - Whether or not organization members can create new private pages. Defaults to
true
. - members
Can BooleanCreate Private Repositories - Whether or not organization members can create new private repositories. Defaults to
true
. - members
Can BooleanCreate Public Pages - Whether or not organization members can create new public pages. Defaults to
true
. - members
Can BooleanCreate Public Repositories - Whether or not organization members can create new public repositories. Defaults to
true
. - members
Can BooleanCreate Repositories - Whether or not organization members can create new repositories. Defaults to
true
. - members
Can BooleanFork Private Repositories - Whether or not organization members can fork private repositories. Defaults to
false
. - name String
- The name for the organization.
- secret
Scanning BooleanEnabled For New Repositories - Whether or not secret scanning is enabled for new repositories. Defaults to
false
. - secret
Scanning BooleanPush Protection Enabled For New Repositories - Whether or not secret scanning push protection is enabled for new repositories. Defaults to
false
. - twitter
Username String - The Twitter username for the organization.
- web
Commit BooleanSignoff Required - 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
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.