1. Registry
  2. Packages
  3. Databricks Provider
  4. API Docs
  5. AccountIamGroupV2
Viewing docs for Databricks v1.109.0
published on Tuesday, Sep 8, 2026 by Pulumi
databricks logo databricks logo
Viewing docs for Databricks v1.109.0
published on Tuesday, Sep 8, 2026 by Pulumi

    Public Beta

    API Documentation

    Manages an account-level group. Creating the resource creates the group; deleting it removes the group.

    When Automatic Identity Management (AIM) is enabled for the account, this resource manages local groups only: a group cannot be created with externalId set. Groups that already have an externalId can still be read through this resource, but only their externalId may be updated — their other fields are sourced from the identity provider.

    Example Usage

    Example usage:

    Creates an account-level group. When AIM is enabled, the group cannot be created with externalId set.

    import * as pulumi from "@pulumi/pulumi";
    import * as databricks from "@pulumi/databricks";
    
    const _this = new databricks.AccountIamGroupV2("this", {groupName: "data-engineers"});
    
    import pulumi
    import pulumi_databricks as databricks
    
    this = databricks.AccountIamGroupV2("this", group_name="data-engineers")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databricks.NewAccountIamGroupV2(ctx, "this", &databricks.AccountIamGroupV2Args{
    			GroupName: pulumi.String("data-engineers"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Databricks = Pulumi.Databricks;
    
    return await Deployment.RunAsync(() => 
    {
        var @this = new Databricks.AccountIamGroupV2("this", new()
        {
            GroupName = "data-engineers",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.databricks.AccountIamGroupV2;
    import com.pulumi.databricks.AccountIamGroupV2Args;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var this_ = new AccountIamGroupV2("this", AccountIamGroupV2Args.builder()
                .groupName("data-engineers")
                .build());
    
        }
    }
    
    resources:
      this:
        type: databricks:AccountIamGroupV2
        properties:
          groupName: data-engineers
    
    pulumi {
      required_providers {
        databricks = {
          source = "pulumi/databricks"
        }
      }
    }
    
    resource "databricks_accountiamgroupv2" "this" {
      group_name = "data-engineers"
    }
    

    Create AccountIamGroupV2 Resource

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

    Constructor syntax

    new AccountIamGroupV2(name: string, args?: AccountIamGroupV2Args, opts?: CustomResourceOptions);
    @overload
    def AccountIamGroupV2(resource_name: str,
                          args: Optional[AccountIamGroupV2Args] = None,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def AccountIamGroupV2(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          external_id: Optional[str] = None,
                          group_name: Optional[str] = None)
    func NewAccountIamGroupV2(ctx *Context, name string, args *AccountIamGroupV2Args, opts ...ResourceOption) (*AccountIamGroupV2, error)
    public AccountIamGroupV2(string name, AccountIamGroupV2Args? args = null, CustomResourceOptions? opts = null)
    public AccountIamGroupV2(String name, AccountIamGroupV2Args args)
    public AccountIamGroupV2(String name, AccountIamGroupV2Args args, CustomResourceOptions options)
    
    type: databricks:AccountIamGroupV2
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "databricks_account_iam_group_v2" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AccountIamGroupV2Args
    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 AccountIamGroupV2Args
    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 AccountIamGroupV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AccountIamGroupV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AccountIamGroupV2Args
    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 accountIamGroupV2Resource = new Databricks.AccountIamGroupV2("accountIamGroupV2Resource", new()
    {
        ExternalId = "string",
        GroupName = "string",
    });
    
    example, err := databricks.NewAccountIamGroupV2(ctx, "accountIamGroupV2Resource", &databricks.AccountIamGroupV2Args{
    	ExternalId: pulumi.String("string"),
    	GroupName:  pulumi.String("string"),
    })
    
    resource "databricks_account_iam_group_v2" "accountIamGroupV2Resource" {
      lifecycle {
        create_before_destroy = true
      }
      external_id = "string"
      group_name  = "string"
    }
    
    var accountIamGroupV2Resource = new AccountIamGroupV2("accountIamGroupV2Resource", AccountIamGroupV2Args.builder()
        .externalId("string")
        .groupName("string")
        .build());
    
    account_iam_group_v2_resource = databricks.AccountIamGroupV2("accountIamGroupV2Resource",
        external_id="string",
        group_name="string")
    
    const accountIamGroupV2Resource = new databricks.AccountIamGroupV2("accountIamGroupV2Resource", {
        externalId: "string",
        groupName: "string",
    });
    
    type: databricks:AccountIamGroupV2
    properties:
        externalId: string
        groupName: string
    

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

    ExternalId string
    ExternalId of the group in the customer's IdP
    GroupName string
    Display name of the group
    ExternalId string
    ExternalId of the group in the customer's IdP
    GroupName string
    Display name of the group
    external_id string
    ExternalId of the group in the customer's IdP
    group_name string
    Display name of the group
    externalId String
    ExternalId of the group in the customer's IdP
    groupName String
    Display name of the group
    externalId string
    ExternalId of the group in the customer's IdP
    groupName string
    Display name of the group
    external_id str
    ExternalId of the group in the customer's IdP
    group_name str
    Display name of the group
    externalId String
    ExternalId of the group in the customer's IdP
    groupName String
    Display name of the group

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AccountIamGroupV2 resource produces the following output properties:

    AccountId string
    (string) - The parent account ID for group in Databricks
    GroupId string
    (string) - Internal group ID of the group in Databricks
    Id string
    The provider-assigned unique ID for this managed resource.
    AccountId string
    (string) - The parent account ID for group in Databricks
    GroupId string
    (string) - Internal group ID of the group in Databricks
    Id string
    The provider-assigned unique ID for this managed resource.
    account_id string
    (string) - The parent account ID for group in Databricks
    group_id string
    (string) - Internal group ID of the group in Databricks
    id string
    The provider-assigned unique ID for this managed resource.
    accountId String
    (string) - The parent account ID for group in Databricks
    groupId String
    (string) - Internal group ID of the group in Databricks
    id String
    The provider-assigned unique ID for this managed resource.
    accountId string
    (string) - The parent account ID for group in Databricks
    groupId string
    (string) - Internal group ID of the group in Databricks
    id string
    The provider-assigned unique ID for this managed resource.
    account_id str
    (string) - The parent account ID for group in Databricks
    group_id str
    (string) - Internal group ID of the group in Databricks
    id str
    The provider-assigned unique ID for this managed resource.
    accountId String
    (string) - The parent account ID for group in Databricks
    groupId String
    (string) - Internal group ID of the group in Databricks
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing AccountIamGroupV2 Resource

    Get an existing AccountIamGroupV2 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?: AccountIamGroupV2State, opts?: CustomResourceOptions): AccountIamGroupV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            external_id: Optional[str] = None,
            group_id: Optional[str] = None,
            group_name: Optional[str] = None) -> AccountIamGroupV2
    func GetAccountIamGroupV2(ctx *Context, name string, id IDInput, state *AccountIamGroupV2State, opts ...ResourceOption) (*AccountIamGroupV2, error)
    public static AccountIamGroupV2 Get(string name, Input<string> id, AccountIamGroupV2State? state, CustomResourceOptions? opts = null)
    public static AccountIamGroupV2 get(String name, Output<String> id, AccountIamGroupV2State state, CustomResourceOptions options)
    resources:  _:    type: databricks:AccountIamGroupV2    get:      id: ${id}
    import {
      to = databricks_account_iam_group_v2.example
      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.
    The following state arguments are supported:
    AccountId string
    (string) - The parent account ID for group in Databricks
    ExternalId string
    ExternalId of the group in the customer's IdP
    GroupId string
    (string) - Internal group ID of the group in Databricks
    GroupName string
    Display name of the group
    AccountId string
    (string) - The parent account ID for group in Databricks
    ExternalId string
    ExternalId of the group in the customer's IdP
    GroupId string
    (string) - Internal group ID of the group in Databricks
    GroupName string
    Display name of the group
    account_id string
    (string) - The parent account ID for group in Databricks
    external_id string
    ExternalId of the group in the customer's IdP
    group_id string
    (string) - Internal group ID of the group in Databricks
    group_name string
    Display name of the group
    accountId String
    (string) - The parent account ID for group in Databricks
    externalId String
    ExternalId of the group in the customer's IdP
    groupId String
    (string) - Internal group ID of the group in Databricks
    groupName String
    Display name of the group
    accountId string
    (string) - The parent account ID for group in Databricks
    externalId string
    ExternalId of the group in the customer's IdP
    groupId string
    (string) - Internal group ID of the group in Databricks
    groupName string
    Display name of the group
    account_id str
    (string) - The parent account ID for group in Databricks
    external_id str
    ExternalId of the group in the customer's IdP
    group_id str
    (string) - Internal group ID of the group in Databricks
    group_name str
    Display name of the group
    accountId String
    (string) - The parent account ID for group in Databricks
    externalId String
    ExternalId of the group in the customer's IdP
    groupId String
    (string) - Internal group ID of the group in Databricks
    groupName String
    Display name of the group

    Package Details

    Repository
    databricks pulumi/pulumi-databricks
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the databricks Terraform Provider.
    databricks logo databricks logo
    Viewing docs for Databricks v1.109.0
    published on Tuesday, Sep 8, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial