databricksgroupinstance_profile Resource

June 12, 2026 ยท View on GitHub

API Documentation

-> Deprecated Please migrate to databricks_group_role.

This resource allows you to attach databricks_instance_profile (AWS) to databricks_group.

Example Usage

resource "databricks_instance_profile" "instance_profile" {
  instance_profile_arn = "my_instance_profile_arn"
}

resource "databricks_group" "my_group" {
  display_name = "my_group_name"
}

resource "databricks_group_instance_profile" "my_group_instance_profile" {
  group_id            = databricks_group.my_group.id
  instance_profile_id = databricks_instance_profile.instance_profile.id
}

Argument Reference

The following arguments are supported:

  • group_id - (Required) This is the id of the group resource.
  • instance_profile_id - (Required) This is the id of the instance profile resource.
  • api - (Optional) Specifies whether to use account-level or workspace-level API. Valid values are account and workspace. When not set, the API level is inferred from the provider host.

Attribute Reference

In addition to all arguments above, the following attributes are exported:

  • id - The id in the format <group_id>|<instance_profile_id>.

Import

!> Importing this resource is not currently supported.

The following resources are often used in the same context: