github.EnterpriseActionsPermissions
Explore with Pulumi AI
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, orselected.
- 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, orselected.
- AllowedActions EnterpriseConfig Actions Permissions Allowed Actions Config 
- Sets the actions that are allowed in an enterprise. Only available when allowed_actions=selected. See Allowed Actions Config below for details.
- EnabledOrganizations EnterpriseConfig Actions Permissions Enabled Organizations Config 
- 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, orselected.
- 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, orselected.
- AllowedActions EnterpriseConfig Actions Permissions Allowed Actions Config Args 
- Sets the actions that are allowed in an enterprise. Only available when allowed_actions=selected. See Allowed Actions Config below for details.
- EnabledOrganizations EnterpriseConfig Actions Permissions Enabled Organizations Config Args 
- 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, orselected.
- 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, orselected.
- allowedActions EnterpriseConfig Actions Permissions Allowed Actions Config 
- Sets the actions that are allowed in an enterprise. Only available when allowed_actions=selected. See Allowed Actions Config below for details.
- enabledOrganizations EnterpriseConfig Actions Permissions Enabled Organizations Config 
- 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, orselected.
- 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, orselected.
- allowedActions EnterpriseConfig Actions Permissions Allowed Actions Config 
- Sets the actions that are allowed in an enterprise. Only available when allowed_actions=selected. See Allowed Actions Config below for details.
- enabledOrganizations EnterpriseConfig Actions Permissions Enabled Organizations Config 
- 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, orselected.
- 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, orselected.
- allowed_actions_ Enterpriseconfig Actions Permissions Allowed Actions Config Args 
- Sets the actions that are allowed in an enterprise. Only available when allowed_actions=selected. See Allowed Actions Config below for details.
- enabled_organizations_ Enterpriseconfig Actions Permissions Enabled Organizations Config Args 
- 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, orselected.
- 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, orselected.
- allowedActions Property MapConfig 
- Sets the actions that are allowed in an enterprise. Only available when allowed_actions=selected. See Allowed Actions Config below for details.
- enabledOrganizations Property MapConfig 
- 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) -> EnterpriseActionsPermissionsfunc 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)resources:  _:    type: github:EnterpriseActionsPermissions    get:      id: ${id}- 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.
- AllowedActions string
- The permissions policy that controls the actions that are allowed to run. Can be one of: all,local_only, orselected.
- AllowedActions EnterpriseConfig Actions Permissions Allowed Actions Config 
- 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, orselected.
- EnabledOrganizations EnterpriseConfig Actions Permissions Enabled Organizations Config 
- 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, orselected.
- AllowedActions EnterpriseConfig Actions Permissions Allowed Actions Config Args 
- 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, orselected.
- EnabledOrganizations EnterpriseConfig Actions Permissions Enabled Organizations Config Args 
- 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, orselected.
- allowedActions EnterpriseConfig Actions Permissions Allowed Actions Config 
- 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, orselected.
- enabledOrganizations EnterpriseConfig Actions Permissions Enabled Organizations Config 
- 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, orselected.
- allowedActions EnterpriseConfig Actions Permissions Allowed Actions Config 
- 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, orselected.
- enabledOrganizations EnterpriseConfig Actions Permissions Enabled Organizations Config 
- 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, orselected.
- allowed_actions_ Enterpriseconfig Actions Permissions Allowed Actions Config Args 
- 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, orselected.
- enabled_organizations_ Enterpriseconfig Actions Permissions Enabled Organizations Config Args 
- 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, orselected.
- allowedActions Property MapConfig 
- 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, orselected.
- enabledOrganizations Property MapConfig 
- 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            
- GithubOwned boolAllowed 
- 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.
- GithubOwned boolAllowed 
- 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.
- githubOwned BooleanAllowed 
- 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.
- githubOwned booleanAllowed 
- 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_ boolallowed 
- 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.
- githubOwned BooleanAllowed 
- 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 githubTerraform Provider.