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:
- Enabled
Organizations string - 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 string - The slug of the enterprise.
- Allowed
Actions string - 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 - 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 - 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 string - 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 string - The slug of the enterprise.
- Allowed
Actions string - 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.
- enabled
Organizations String - 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 String - The slug of the enterprise.
- allowed
Actions String - 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 - 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 - 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 string - 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 string - The slug of the enterprise.
- allowed
Actions string - 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 - 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 - 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.
- enabled
Organizations String - 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 String - The slug of the enterprise.
- allowed
Actions String - The permissions policy that controls the actions that are allowed to run. Can be one of:
all
,local_only
, orselected
. - allowed
Actions Property MapConfig - Sets the actions that are allowed in an enterprise. Only available when
allowed_actions
=selected
. See Allowed Actions Config below for details. - enabled
Organizations 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) -> 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.
- Allowed
Actions string - 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 - Sets the actions that are allowed in an enterprise. Only available when
allowed_actions
=selected
. See Allowed Actions Config below for details. - Enabled
Organizations string - 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 - 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 string - The slug of the enterprise.
- Allowed
Actions string - 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 string - 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 string - The slug of the enterprise.
- allowed
Actions String - 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 - Sets the actions that are allowed in an enterprise. Only available when
allowed_actions
=selected
. See Allowed Actions Config below for details. - enabled
Organizations String - 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 - 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 String - The slug of the enterprise.
- allowed
Actions string - 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 - Sets the actions that are allowed in an enterprise. Only available when
allowed_actions
=selected
. See Allowed Actions Config below for details. - enabled
Organizations string - 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 - 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 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.
- allowed
Actions String - The permissions policy that controls the actions that are allowed to run. Can be one of:
all
,local_only
, orselected
. - allowed
Actions Property MapConfig - Sets the actions that are allowed in an enterprise. Only available when
allowed_actions
=selected
. See Allowed Actions Config below for details. - enabled
Organizations String - 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 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. - enterprise
Slug String - The slug of the enterprise.
Supporting Types
EnterpriseActionsPermissionsAllowedActionsConfig, EnterpriseActionsPermissionsAllowedActionsConfigArgs
- Github
Owned boolAllowed - Whether GitHub-owned actions are allowed in the organization.
- Patterns
Alloweds 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/."
- 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.
- Github
Owned boolAllowed - Whether GitHub-owned actions are allowed in the organization.
- Patterns
Alloweds []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/."
- 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.
- github
Owned BooleanAllowed - Whether GitHub-owned actions are allowed in the organization.
- patterns
Alloweds 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/."
- verified
Allowed 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 booleanAllowed - Whether GitHub-owned actions are allowed in the organization.
- patterns
Alloweds 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/."
- verified
Allowed 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.
- github
Owned BooleanAllowed - Whether GitHub-owned actions are allowed in the organization.
- patterns
Alloweds 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/."
- verified
Allowed 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
- Organization
Ids List<int> - List of organization IDs to enable for GitHub Actions.
- Organization
Ids []int - List of organization IDs to enable for GitHub Actions.
- organization
Ids List<Integer> - List of organization IDs to enable for GitHub Actions.
- organization
Ids number[] - List of organization IDs to enable for GitHub Actions.
- organization_
ids Sequence[int] - List of organization IDs to enable for GitHub Actions.
- organization
Ids 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.