published on Tuesday, Nov 3, 2026 by Pulumi
published on Tuesday, Nov 3, 2026 by Pulumi
Grants one organization member a permission set on one stack, environment or Insights account, as in the entity access section of the Pulumi Cloud console. See the entity access docs. Each resource manages the grant of one member on one entity. Other grants of the member, and grants of other members on the same entity, are not touched, and destroying the resource removes only this grant. Set either permission, for a built-in permission set, or permissionSetId, for a custom one.
Create OrganizationMemberEntityAccess Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OrganizationMemberEntityAccess(name: string, args: OrganizationMemberEntityAccessArgs, opts?: CustomResourceOptions);@overload
def OrganizationMemberEntityAccess(resource_name: str,
args: OrganizationMemberEntityAccessArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OrganizationMemberEntityAccess(resource_name: str,
opts: Optional[ResourceOptions] = None,
entity_name: Optional[str] = None,
entity_type: Optional[str] = None,
organization_name: Optional[str] = None,
username: Optional[str] = None,
permission: Optional[str] = None,
permission_set_id: Optional[str] = None)func NewOrganizationMemberEntityAccess(ctx *Context, name string, args OrganizationMemberEntityAccessArgs, opts ...ResourceOption) (*OrganizationMemberEntityAccess, error)public OrganizationMemberEntityAccess(string name, OrganizationMemberEntityAccessArgs args, CustomResourceOptions? opts = null)
public OrganizationMemberEntityAccess(String name, OrganizationMemberEntityAccessArgs args)
public OrganizationMemberEntityAccess(String name, OrganizationMemberEntityAccessArgs args, CustomResourceOptions options)
type: pulumiservice:OrganizationMemberEntityAccess
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "pulumiservice_organization_member_entity_access" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args OrganizationMemberEntityAccessArgs
- 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 OrganizationMemberEntityAccessArgs
- 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 OrganizationMemberEntityAccessArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OrganizationMemberEntityAccessArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OrganizationMemberEntityAccessArgs
- 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 organizationMemberEntityAccessResource = new PulumiService.OrganizationMemberEntityAccess("organizationMemberEntityAccessResource", new()
{
EntityName = "string",
EntityType = "string",
OrganizationName = "string",
Username = "string",
Permission = "string",
PermissionSetId = "string",
});
example, err := pulumiservice.NewOrganizationMemberEntityAccess(ctx, "organizationMemberEntityAccessResource", &pulumiservice.OrganizationMemberEntityAccessArgs{
EntityName: pulumi.String("string"),
EntityType: pulumi.String("string"),
OrganizationName: pulumi.String("string"),
Username: pulumi.String("string"),
Permission: pulumi.String("string"),
PermissionSetId: pulumi.String("string"),
})
resource "pulumiservice_organization_member_entity_access" "organizationMemberEntityAccessResource" {
lifecycle {
create_before_destroy = true
}
entity_name = "string"
entity_type = "string"
organization_name = "string"
username = "string"
permission = "string"
permission_set_id = "string"
}
var organizationMemberEntityAccessResource = new OrganizationMemberEntityAccess("organizationMemberEntityAccessResource", OrganizationMemberEntityAccessArgs.builder()
.entityName("string")
.entityType("string")
.organizationName("string")
.username("string")
.permission("string")
.permissionSetId("string")
.build());
organization_member_entity_access_resource = pulumiservice.OrganizationMemberEntityAccess("organizationMemberEntityAccessResource",
entity_name="string",
entity_type="string",
organization_name="string",
username="string",
permission="string",
permission_set_id="string")
const organizationMemberEntityAccessResource = new pulumiservice.OrganizationMemberEntityAccess("organizationMemberEntityAccessResource", {
entityName: "string",
entityType: "string",
organizationName: "string",
username: "string",
permission: "string",
permissionSetId: "string",
});
type: pulumiservice:OrganizationMemberEntityAccess
properties:
entityName: string
entityType: string
organizationName: string
permission: string
permissionSetId: string
username: string
OrganizationMemberEntityAccess 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 OrganizationMemberEntityAccess resource accepts the following input properties:
- Entity
Name string - The name of the entity:
{project}/{stack}for a stack,{project}/{environment}for an environment, or the account name for an Insights account. - Entity
Type string - The kind of entity to grant access to. One of
stack,environmentorinsightsAccount. - Organization
Name string - The Pulumi Cloud organization name.
- Username string
- The Pulumi Cloud username of the organization member.
- Permission string
- The built-in permission set to grant, for example
stack-read,stack-write,stack-admin,environment-read,environment-open,environment-write,environment-admin,insights-account-read,insights-account-writeorinsights-account-admin. Exactly one ofpermissionandpermissionSetIdmust be set. - Permission
Set stringId - The ID of a custom permission set to grant. Exactly one of
permissionandpermissionSetIdmust be set.
- Entity
Name string - The name of the entity:
{project}/{stack}for a stack,{project}/{environment}for an environment, or the account name for an Insights account. - Entity
Type string - The kind of entity to grant access to. One of
stack,environmentorinsightsAccount. - Organization
Name string - The Pulumi Cloud organization name.
- Username string
- The Pulumi Cloud username of the organization member.
- Permission string
- The built-in permission set to grant, for example
stack-read,stack-write,stack-admin,environment-read,environment-open,environment-write,environment-admin,insights-account-read,insights-account-writeorinsights-account-admin. Exactly one ofpermissionandpermissionSetIdmust be set. - Permission
Set stringId - The ID of a custom permission set to grant. Exactly one of
permissionandpermissionSetIdmust be set.
- entity_
name string - The name of the entity:
{project}/{stack}for a stack,{project}/{environment}for an environment, or the account name for an Insights account. - entity_
type string - The kind of entity to grant access to. One of
stack,environmentorinsightsAccount. - organization_
name string - The Pulumi Cloud organization name.
- username string
- The Pulumi Cloud username of the organization member.
- permission string
- The built-in permission set to grant, for example
stack-read,stack-write,stack-admin,environment-read,environment-open,environment-write,environment-admin,insights-account-read,insights-account-writeorinsights-account-admin. Exactly one ofpermissionandpermissionSetIdmust be set. - permission_
set_ stringid - The ID of a custom permission set to grant. Exactly one of
permissionandpermissionSetIdmust be set.
- entity
Name String - The name of the entity:
{project}/{stack}for a stack,{project}/{environment}for an environment, or the account name for an Insights account. - entity
Type String - The kind of entity to grant access to. One of
stack,environmentorinsightsAccount. - organization
Name String - The Pulumi Cloud organization name.
- username String
- The Pulumi Cloud username of the organization member.
- permission String
- The built-in permission set to grant, for example
stack-read,stack-write,stack-admin,environment-read,environment-open,environment-write,environment-admin,insights-account-read,insights-account-writeorinsights-account-admin. Exactly one ofpermissionandpermissionSetIdmust be set. - permission
Set StringId - The ID of a custom permission set to grant. Exactly one of
permissionandpermissionSetIdmust be set.
- entity
Name string - The name of the entity:
{project}/{stack}for a stack,{project}/{environment}for an environment, or the account name for an Insights account. - entity
Type string - The kind of entity to grant access to. One of
stack,environmentorinsightsAccount. - organization
Name string - The Pulumi Cloud organization name.
- username string
- The Pulumi Cloud username of the organization member.
- permission string
- The built-in permission set to grant, for example
stack-read,stack-write,stack-admin,environment-read,environment-open,environment-write,environment-admin,insights-account-read,insights-account-writeorinsights-account-admin. Exactly one ofpermissionandpermissionSetIdmust be set. - permission
Set stringId - The ID of a custom permission set to grant. Exactly one of
permissionandpermissionSetIdmust be set.
- entity_
name str - The name of the entity:
{project}/{stack}for a stack,{project}/{environment}for an environment, or the account name for an Insights account. - entity_
type str - The kind of entity to grant access to. One of
stack,environmentorinsightsAccount. - organization_
name str - The Pulumi Cloud organization name.
- username str
- The Pulumi Cloud username of the organization member.
- permission str
- The built-in permission set to grant, for example
stack-read,stack-write,stack-admin,environment-read,environment-open,environment-write,environment-admin,insights-account-read,insights-account-writeorinsights-account-admin. Exactly one ofpermissionandpermissionSetIdmust be set. - permission_
set_ strid - The ID of a custom permission set to grant. Exactly one of
permissionandpermissionSetIdmust be set.
- entity
Name String - The name of the entity:
{project}/{stack}for a stack,{project}/{environment}for an environment, or the account name for an Insights account. - entity
Type String - The kind of entity to grant access to. One of
stack,environmentorinsightsAccount. - organization
Name String - The Pulumi Cloud organization name.
- username String
- The Pulumi Cloud username of the organization member.
- permission String
- The built-in permission set to grant, for example
stack-read,stack-write,stack-admin,environment-read,environment-open,environment-write,environment-admin,insights-account-read,insights-account-writeorinsights-account-admin. Exactly one ofpermissionandpermissionSetIdmust be set. - permission
Set StringId - The ID of a custom permission set to grant. Exactly one of
permissionandpermissionSetIdmust be set.
Outputs
All input properties are implicitly available as output properties. Additionally, the OrganizationMemberEntityAccess resource produces the following output properties:
- Entity
Id string - The ID of the entity Pulumi Cloud stores the grant against.
- Id string
- The provider-assigned unique ID for this managed resource.
- Permission
Set stringName - The display name of the granted permission set.
- Entity
Id string - The ID of the entity Pulumi Cloud stores the grant against.
- Id string
- The provider-assigned unique ID for this managed resource.
- Permission
Set stringName - The display name of the granted permission set.
- entity_
id string - The ID of the entity Pulumi Cloud stores the grant against.
- id string
- The provider-assigned unique ID for this managed resource.
- permission_
set_ stringname - The display name of the granted permission set.
- entity
Id String - The ID of the entity Pulumi Cloud stores the grant against.
- id String
- The provider-assigned unique ID for this managed resource.
- permission
Set StringName - The display name of the granted permission set.
- entity
Id string - The ID of the entity Pulumi Cloud stores the grant against.
- id string
- The provider-assigned unique ID for this managed resource.
- permission
Set stringName - The display name of the granted permission set.
- entity_
id str - The ID of the entity Pulumi Cloud stores the grant against.
- id str
- The provider-assigned unique ID for this managed resource.
- permission_
set_ strname - The display name of the granted permission set.
- entity
Id String - The ID of the entity Pulumi Cloud stores the grant against.
- id String
- The provider-assigned unique ID for this managed resource.
- permission
Set StringName - The display name of the granted permission set.
Import
This resource can be imported using its id, which has the format {organization}/{username}/{entityType}/{entityName}, e.g.,
$ pulumi import pulumiservice:index:OrganizationMemberEntityAccess my-organization-member-entity-access my-org/alice/stack/my-project/dev
entityType is stack, environment or insightsAccount. entityName is {project}/{stack}, {project}/{environment} or the account name.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- pulumiservice pulumi/pulumi-pulumiservice
- License
- Apache-2.0
published on Tuesday, Nov 3, 2026 by Pulumi