1. Packages
  2. Github Provider
  3. API Docs
  4. EnterpriseActionsPermissions
GitHub v6.3.2 published on Friday, Oct 11, 2024 by Pulumi

github.EnterpriseActionsPermissions

Explore with Pulumi AI

github logo
GitHub v6.3.2 published on Friday, Oct 11, 2024 by Pulumi

    This resource allows you to create and manage GitHub Actions permissions within your GitHub enterprise. You must have admin access to an enterprise to use this resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as github from "@pulumi/github";
    
    const example-org = github.getOrganization({
        name: "my-org",
    });
    const test = new github.EnterpriseActionsPermissions("test", {
        enterpriseSlug: "my-enterprise",
        allowedActions: "selected",
        enabledOrganizations: "selected",
        allowedActionsConfig: {
            githubOwnedAllowed: true,
            patternsAlloweds: [
                "actions/cache@*",
                "actions/checkout@*",
            ],
            verifiedAllowed: true,
        },
        enabledOrganizationsConfig: {
            organizationIds: [example_org.then(example_org => example_org.id)],
        },
    });
    
    import pulumi
    import pulumi_github as github
    
    example_org = github.get_organization(name="my-org")
    test = github.EnterpriseActionsPermissions("test",
        enterprise_slug="my-enterprise",
        allowed_actions="selected",
        enabled_organizations="selected",
        allowed_actions_config={
            "github_owned_allowed": True,
            "patterns_alloweds": [
                "actions/cache@*",
                "actions/checkout@*",
            ],
            "verified_allowed": True,
        },
        enabled_organizations_config={
            "organization_ids": [example_org.id],
        })
    
    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 {
    		example_org, err := github.GetOrganization(ctx, &github.GetOrganizationArgs{
    			Name: "my-org",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = github.NewEnterpriseActionsPermissions(ctx, "test", &github.EnterpriseActionsPermissionsArgs{
    			EnterpriseSlug:       pulumi.String("my-enterprise"),
    			AllowedActions:       pulumi.String("selected"),
    			EnabledOrganizations: pulumi.String("selected"),
    			AllowedActionsConfig: &github.EnterpriseActionsPermissionsAllowedActionsConfigArgs{
    				GithubOwnedAllowed: pulumi.Bool(true),
    				PatternsAlloweds: pulumi.StringArray{
    					pulumi.String("actions/cache@*"),
    					pulumi.String("actions/checkout@*"),
    				},
    				VerifiedAllowed: pulumi.Bool(true),
    			},
    			EnabledOrganizationsConfig: &github.EnterpriseActionsPermissionsEnabledOrganizationsConfigArgs{
    				OrganizationIds: pulumi.IntArray{
    					pulumi.String(example_org.Id),
    				},
    			},
    		})
    		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 example_org = Github.GetOrganization.Invoke(new()
        {
            Name = "my-org",
        });
    
        var test = new Github.EnterpriseActionsPermissions("test", new()
        {
            EnterpriseSlug = "my-enterprise",
            AllowedActions = "selected",
            EnabledOrganizations = "selected",
            AllowedActionsConfig = new Github.Inputs.EnterpriseActionsPermissionsAllowedActionsConfigArgs
            {
                GithubOwnedAllowed = true,
                PatternsAlloweds = new[]
                {
                    "actions/cache@*",
                    "actions/checkout@*",
                },
                VerifiedAllowed = true,
            },
            EnabledOrganizationsConfig = new Github.Inputs.EnterpriseActionsPermissionsEnabledOrganizationsConfigArgs
            {
                OrganizationIds = new[]
                {
                    example_org.Apply(example_org => example_org.Apply(getOrganizationResult => getOrganizationResult.Id)),
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.github.GithubFunctions;
    import com.pulumi.github.inputs.GetOrganizationArgs;
    import com.pulumi.github.EnterpriseActionsPermissions;
    import com.pulumi.github.EnterpriseActionsPermissionsArgs;
    import com.pulumi.github.inputs.EnterpriseActionsPermissionsAllowedActionsConfigArgs;
    import com.pulumi.github.inputs.EnterpriseActionsPermissionsEnabledOrganizationsConfigArgs;
    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) {
            final var example-org = GithubFunctions.getOrganization(GetOrganizationArgs.builder()
                .name("my-org")
                .build());
    
            var test = new EnterpriseActionsPermissions("test", EnterpriseActionsPermissionsArgs.builder()
                .enterpriseSlug("my-enterprise")
                .allowedActions("selected")
                .enabledOrganizations("selected")
                .allowedActionsConfig(EnterpriseActionsPermissionsAllowedActionsConfigArgs.builder()
                    .githubOwnedAllowed(true)
                    .patternsAlloweds(                
                        "actions/cache@*",
                        "actions/checkout@*")
                    .verifiedAllowed(true)
                    .build())
                .enabledOrganizationsConfig(EnterpriseActionsPermissionsEnabledOrganizationsConfigArgs.builder()
                    .organizationIds(example_org.id())
                    .build())
                .build());
    
        }
    }
    
    resources:
      test:
        type: github:EnterpriseActionsPermissions
        properties:
          enterpriseSlug: my-enterprise
          allowedActions: selected
          enabledOrganizations: selected
          allowedActionsConfig:
            githubOwnedAllowed: true
            patternsAlloweds:
              - actions/cache@*
              - actions/checkout@*
            verifiedAllowed: true
          enabledOrganizationsConfig:
            organizationIds:
              - ${["example-org"].id}
    variables:
      example-org:
        fn::invoke:
          Function: github:getOrganization
          Arguments:
            name: my-org
    

    Create EnterpriseActionsPermissions Resource

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

    Constructor syntax

    new EnterpriseActionsPermissions(name: string, args: EnterpriseActionsPermissionsArgs, opts?: CustomResourceOptions);
    @overload
    def EnterpriseActionsPermissions(resource_name: str,
                                     args: EnterpriseActionsPermissionsArgs,
                                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def EnterpriseActionsPermissions(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     enabled_organizations: Optional[str] = None,
                                     enterprise_slug: Optional[str] = None,
                                     allowed_actions: Optional[str] = None,
                                     allowed_actions_config: Optional[EnterpriseActionsPermissionsAllowedActionsConfigArgs] = None,
                                     enabled_organizations_config: Optional[EnterpriseActionsPermissionsEnabledOrganizationsConfigArgs] = None)
    func NewEnterpriseActionsPermissions(ctx *Context, name string, args EnterpriseActionsPermissionsArgs, opts ...ResourceOption) (*EnterpriseActionsPermissions, error)
    public EnterpriseActionsPermissions(string name, EnterpriseActionsPermissionsArgs args, CustomResourceOptions? opts = null)
    public EnterpriseActionsPermissions(String name, EnterpriseActionsPermissionsArgs args)
    public EnterpriseActionsPermissions(String name, EnterpriseActionsPermissionsArgs args, CustomResourceOptions options)
    
    type: github:EnterpriseActionsPermissions
    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 EnterpriseActionsPermissionsArgs
    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 EnterpriseActionsPermissionsArgs
    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 EnterpriseActionsPermissionsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EnterpriseActionsPermissionsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EnterpriseActionsPermissionsArgs
    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 enterpriseActionsPermissionsResource = new Github.EnterpriseActionsPermissions("enterpriseActionsPermissionsResource", new()
    {
        EnabledOrganizations = "string",
        EnterpriseSlug = "string",
        AllowedActions = "string",
        AllowedActionsConfig = new Github.Inputs.EnterpriseActionsPermissionsAllowedActionsConfigArgs
        {
            GithubOwnedAllowed = false,
            PatternsAlloweds = new[]
            {
                "string",
            },
            VerifiedAllowed = false,
        },
        EnabledOrganizationsConfig = new Github.Inputs.EnterpriseActionsPermissionsEnabledOrganizationsConfigArgs
        {
            OrganizationIds = new[]
            {
                0,
            },
        },
    });
    
    example, err := github.NewEnterpriseActionsPermissions(ctx, "enterpriseActionsPermissionsResource", &github.EnterpriseActionsPermissionsArgs{
    	EnabledOrganizations: pulumi.String("string"),
    	EnterpriseSlug:       pulumi.String("string"),
    	AllowedActions:       pulumi.String("string"),
    	AllowedActionsConfig: &github.EnterpriseActionsPermissionsAllowedActionsConfigArgs{
    		GithubOwnedAllowed: pulumi.Bool(false),
    		PatternsAlloweds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		VerifiedAllowed: pulumi.Bool(false),
    	},
    	EnabledOrganizationsConfig: &github.EnterpriseActionsPermissionsEnabledOrganizationsConfigArgs{
    		OrganizationIds: pulumi.IntArray{
    			pulumi.Int(0),
    		},
    	},
    })
    
    var enterpriseActionsPermissionsResource = new EnterpriseActionsPermissions("enterpriseActionsPermissionsResource", EnterpriseActionsPermissionsArgs.builder()
        .enabledOrganizations("string")
        .enterpriseSlug("string")
        .allowedActions("string")
        .allowedActionsConfig(EnterpriseActionsPermissionsAllowedActionsConfigArgs.builder()
            .githubOwnedAllowed(false)
            .patternsAlloweds("string")
            .verifiedAllowed(false)
            .build())
        .enabledOrganizationsConfig(EnterpriseActionsPermissionsEnabledOrganizationsConfigArgs.builder()
            .organizationIds(0)
            .build())
        .build());
    
    enterprise_actions_permissions_resource = github.EnterpriseActionsPermissions("enterpriseActionsPermissionsResource",
        enabled_organizations="string",
        enterprise_slug="string",
        allowed_actions="string",
        allowed_actions_config={
            "github_owned_allowed": False,
            "patterns_alloweds": ["string"],
            "verified_allowed": False,
        },
        enabled_organizations_config={
            "organization_ids": [0],
        })
    
    const enterpriseActionsPermissionsResource = new github.EnterpriseActionsPermissions("enterpriseActionsPermissionsResource", {
        enabledOrganizations: "string",
        enterpriseSlug: "string",
        allowedActions: "string",
        allowedActionsConfig: {
            githubOwnedAllowed: false,
            patternsAlloweds: ["string"],
            verifiedAllowed: false,
        },
        enabledOrganizationsConfig: {
            organizationIds: [0],
        },
    });
    
    type: github:EnterpriseActionsPermissions
    properties:
        allowedActions: string
        allowedActionsConfig:
            githubOwnedAllowed: false
            patternsAlloweds:
                - string
            verifiedAllowed: false
        enabledOrganizations: string
        enabledOrganizationsConfig:
            organizationIds:
                - 0
        enterpriseSlug: string
    

    EnterpriseActionsPermissions 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 EnterpriseActionsPermissions resource accepts the following input properties:

    EnabledOrganizations string
    The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. Can be one of: all, none, or selected.
    EnterpriseSlug string
    The slug of the enterprise.
    AllowedActions string
    The permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.
    AllowedActionsConfig EnterpriseActionsPermissionsAllowedActionsConfig
    Sets the actions that are allowed in an enterprise. Only available when allowed_actions = selected. See Allowed Actions Config below for details.
    EnabledOrganizationsConfig EnterpriseActionsPermissionsEnabledOrganizationsConfig
    Sets the list of selected organizations that are enabled for GitHub Actions in an enterprise. Only available when enabled_organizations = selected. See Enabled Organizations Config below for details.
    EnabledOrganizations string
    The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. Can be one of: all, none, or selected.
    EnterpriseSlug string
    The slug of the enterprise.
    AllowedActions string
    The permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.
    AllowedActionsConfig EnterpriseActionsPermissionsAllowedActionsConfigArgs
    Sets the actions that are allowed in an enterprise. Only available when allowed_actions = selected. See Allowed Actions Config below for details.
    EnabledOrganizationsConfig EnterpriseActionsPermissionsEnabledOrganizationsConfigArgs
    Sets the list of selected organizations that are enabled for GitHub Actions in an enterprise. Only available when enabled_organizations = selected. See Enabled Organizations Config below for details.
    enabledOrganizations String
    The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. Can be one of: all, none, or selected.
    enterpriseSlug String
    The slug of the enterprise.
    allowedActions String
    The permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.
    allowedActionsConfig EnterpriseActionsPermissionsAllowedActionsConfig
    Sets the actions that are allowed in an enterprise. Only available when allowed_actions = selected. See Allowed Actions Config below for details.
    enabledOrganizationsConfig EnterpriseActionsPermissionsEnabledOrganizationsConfig
    Sets the list of selected organizations that are enabled for GitHub Actions in an enterprise. Only available when enabled_organizations = selected. See Enabled Organizations Config below for details.
    enabledOrganizations string
    The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. Can be one of: all, none, or selected.
    enterpriseSlug string
    The slug of the enterprise.
    allowedActions string
    The permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.
    allowedActionsConfig EnterpriseActionsPermissionsAllowedActionsConfig
    Sets the actions that are allowed in an enterprise. Only available when allowed_actions = selected. See Allowed Actions Config below for details.
    enabledOrganizationsConfig EnterpriseActionsPermissionsEnabledOrganizationsConfig
    Sets the list of selected organizations that are enabled for GitHub Actions in an enterprise. Only available when enabled_organizations = selected. See Enabled Organizations Config below for details.
    enabled_organizations str
    The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. Can be one of: all, none, or selected.
    enterprise_slug str
    The slug of the enterprise.
    allowed_actions str
    The permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.
    allowed_actions_config EnterpriseActionsPermissionsAllowedActionsConfigArgs
    Sets the actions that are allowed in an enterprise. Only available when allowed_actions = selected. See Allowed Actions Config below for details.
    enabled_organizations_config EnterpriseActionsPermissionsEnabledOrganizationsConfigArgs
    Sets the list of selected organizations that are enabled for GitHub Actions in an enterprise. Only available when enabled_organizations = selected. See Enabled Organizations Config below for details.
    enabledOrganizations String
    The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. Can be one of: all, none, or selected.
    enterpriseSlug String
    The slug of the enterprise.
    allowedActions String
    The permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.
    allowedActionsConfig Property Map
    Sets the actions that are allowed in an enterprise. Only available when allowed_actions = selected. See Allowed Actions Config below for details.
    enabledOrganizationsConfig Property Map
    Sets the list of selected organizations that are enabled for GitHub Actions in an enterprise. Only available when enabled_organizations = selected. See Enabled Organizations Config below for details.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EnterpriseActionsPermissions 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 EnterpriseActionsPermissions Resource

    Get an existing EnterpriseActionsPermissions 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?: EnterpriseActionsPermissionsState, opts?: CustomResourceOptions): EnterpriseActionsPermissions
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            allowed_actions: Optional[str] = None,
            allowed_actions_config: Optional[EnterpriseActionsPermissionsAllowedActionsConfigArgs] = None,
            enabled_organizations: Optional[str] = None,
            enabled_organizations_config: Optional[EnterpriseActionsPermissionsEnabledOrganizationsConfigArgs] = None,
            enterprise_slug: Optional[str] = None) -> EnterpriseActionsPermissions
    func GetEnterpriseActionsPermissions(ctx *Context, name string, id IDInput, state *EnterpriseActionsPermissionsState, opts ...ResourceOption) (*EnterpriseActionsPermissions, error)
    public static EnterpriseActionsPermissions Get(string name, Input<string> id, EnterpriseActionsPermissionsState? state, CustomResourceOptions? opts = null)
    public static EnterpriseActionsPermissions get(String name, Output<String> id, EnterpriseActionsPermissionsState 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.
    The following state arguments are supported:
    AllowedActions string
    The permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.
    AllowedActionsConfig EnterpriseActionsPermissionsAllowedActionsConfig
    Sets the actions that are allowed in an enterprise. Only available when allowed_actions = selected. See Allowed Actions Config below for details.
    EnabledOrganizations string
    The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. Can be one of: all, none, or selected.
    EnabledOrganizationsConfig EnterpriseActionsPermissionsEnabledOrganizationsConfig
    Sets the list of selected organizations that are enabled for GitHub Actions in an enterprise. Only available when enabled_organizations = selected. See Enabled Organizations Config below for details.
    EnterpriseSlug string
    The slug of the enterprise.
    AllowedActions string
    The permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.
    AllowedActionsConfig EnterpriseActionsPermissionsAllowedActionsConfigArgs
    Sets the actions that are allowed in an enterprise. Only available when allowed_actions = selected. See Allowed Actions Config below for details.
    EnabledOrganizations string
    The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. Can be one of: all, none, or selected.
    EnabledOrganizationsConfig EnterpriseActionsPermissionsEnabledOrganizationsConfigArgs
    Sets the list of selected organizations that are enabled for GitHub Actions in an enterprise. Only available when enabled_organizations = selected. See Enabled Organizations Config below for details.
    EnterpriseSlug string
    The slug of the enterprise.
    allowedActions String
    The permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.
    allowedActionsConfig EnterpriseActionsPermissionsAllowedActionsConfig
    Sets the actions that are allowed in an enterprise. Only available when allowed_actions = selected. See Allowed Actions Config below for details.
    enabledOrganizations String
    The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. Can be one of: all, none, or selected.
    enabledOrganizationsConfig EnterpriseActionsPermissionsEnabledOrganizationsConfig
    Sets the list of selected organizations that are enabled for GitHub Actions in an enterprise. Only available when enabled_organizations = selected. See Enabled Organizations Config below for details.
    enterpriseSlug String
    The slug of the enterprise.
    allowedActions string
    The permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.
    allowedActionsConfig EnterpriseActionsPermissionsAllowedActionsConfig
    Sets the actions that are allowed in an enterprise. Only available when allowed_actions = selected. See Allowed Actions Config below for details.
    enabledOrganizations string
    The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. Can be one of: all, none, or selected.
    enabledOrganizationsConfig EnterpriseActionsPermissionsEnabledOrganizationsConfig
    Sets the list of selected organizations that are enabled for GitHub Actions in an enterprise. Only available when enabled_organizations = selected. See Enabled Organizations Config below for details.
    enterpriseSlug string
    The slug of the enterprise.
    allowed_actions str
    The permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.
    allowed_actions_config EnterpriseActionsPermissionsAllowedActionsConfigArgs
    Sets the actions that are allowed in an enterprise. Only available when allowed_actions = selected. See Allowed Actions Config below for details.
    enabled_organizations str
    The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. Can be one of: all, none, or selected.
    enabled_organizations_config EnterpriseActionsPermissionsEnabledOrganizationsConfigArgs
    Sets the list of selected organizations that are enabled for GitHub Actions in an enterprise. Only available when enabled_organizations = selected. See Enabled Organizations Config below for details.
    enterprise_slug str
    The slug of the enterprise.
    allowedActions String
    The permissions policy that controls the actions that are allowed to run. Can be one of: all, local_only, or selected.
    allowedActionsConfig Property Map
    Sets the actions that are allowed in an enterprise. Only available when allowed_actions = selected. See Allowed Actions Config below for details.
    enabledOrganizations String
    The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. Can be one of: all, none, or selected.
    enabledOrganizationsConfig Property Map
    Sets the list of selected organizations that are enabled for GitHub Actions in an enterprise. Only available when enabled_organizations = selected. See Enabled Organizations Config below for details.
    enterpriseSlug String
    The slug of the enterprise.

    Supporting Types

    EnterpriseActionsPermissionsAllowedActionsConfig, EnterpriseActionsPermissionsAllowedActionsConfigArgs

    GithubOwnedAllowed bool
    Whether GitHub-owned actions are allowed in the organization.
    PatternsAlloweds List<string>
    Specifies a list of string-matching patterns to allow specific action(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@, monalisa/octocat@v2, monalisa/."
    VerifiedAllowed bool
    Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.
    GithubOwnedAllowed bool
    Whether GitHub-owned actions are allowed in the organization.
    PatternsAlloweds []string
    Specifies a list of string-matching patterns to allow specific action(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@, monalisa/octocat@v2, monalisa/."
    VerifiedAllowed bool
    Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.
    githubOwnedAllowed Boolean
    Whether GitHub-owned actions are allowed in the organization.
    patternsAlloweds List<String>
    Specifies a list of string-matching patterns to allow specific action(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@, monalisa/octocat@v2, monalisa/."
    verifiedAllowed Boolean
    Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.
    githubOwnedAllowed boolean
    Whether GitHub-owned actions are allowed in the organization.
    patternsAlloweds string[]
    Specifies a list of string-matching patterns to allow specific action(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@, monalisa/octocat@v2, monalisa/."
    verifiedAllowed boolean
    Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.
    github_owned_allowed bool
    Whether GitHub-owned actions are allowed in the organization.
    patterns_alloweds Sequence[str]
    Specifies a list of string-matching patterns to allow specific action(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@, monalisa/octocat@v2, monalisa/."
    verified_allowed bool
    Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.
    githubOwnedAllowed Boolean
    Whether GitHub-owned actions are allowed in the organization.
    patternsAlloweds List<String>
    Specifies a list of string-matching patterns to allow specific action(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@, monalisa/octocat@v2, monalisa/."
    verifiedAllowed Boolean
    Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.

    EnterpriseActionsPermissionsEnabledOrganizationsConfig, EnterpriseActionsPermissionsEnabledOrganizationsConfigArgs

    OrganizationIds List<int>
    List of organization IDs to enable for GitHub Actions.
    OrganizationIds []int
    List of organization IDs to enable for GitHub Actions.
    organizationIds List<Integer>
    List of organization IDs to enable for GitHub Actions.
    organizationIds number[]
    List of organization IDs to enable for GitHub Actions.
    organization_ids Sequence[int]
    List of organization IDs to enable for GitHub Actions.
    organizationIds List<Number>
    List of organization IDs to enable for GitHub Actions.

    Import

    This resource can be imported using the name of the GitHub enterprise:

    $ pulumi import github:index/enterpriseActionsPermissions:EnterpriseActionsPermissions test github_enterprise_name
    

    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.
    github logo
    GitHub v6.3.2 published on Friday, Oct 11, 2024 by Pulumi