1. Registry
  2. Packages
  3. Selectel Provider
  4. API Docs
  5. DbaasClickhouseShardGroupV2
Viewing docs for selectel 8.6.0
published on Friday, Oct 2, 2026 by selectel
selectel
Viewing docs for selectel 8.6.0
published on Friday, Oct 2, 2026 by selectel

    Creates and manages a ClickHouse shard group using public API v2. Shard groups allow you to combine shards (node groups with DATA role) into logical groups for distributed queries. For more information about Managed Databases, see the official Selectel documentation.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as selectel from "@pulumi/selectel";
    
    const shardGroup1 = new selectel.DbaasClickhouseShardGroupV2("shard_group_1", {
        projectId: project1.id,
        region: "ru-3",
        datastoreId: cluster1.id,
        name: "group-1",
        description: "First shard group",
        shardNames: [
            "shard1",
            "shard2",
        ],
    });
    
    import pulumi
    import pulumi_selectel as selectel
    
    shard_group1 = selectel.DbaasClickhouseShardGroupV2("shard_group_1",
        project_id=project1["id"],
        region="ru-3",
        datastore_id=cluster1["id"],
        name="group-1",
        description="First shard group",
        shard_names=[
            "shard1",
            "shard2",
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/selectel/v8/selectel"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := selectel.NewDbaasClickhouseShardGroupV2(ctx, "shard_group_1", &selectel.DbaasClickhouseShardGroupV2Args{
    			ProjectId:   pulumi.Any(project1.Id),
    			Region:      pulumi.String("ru-3"),
    			DatastoreId: pulumi.Any(cluster1.Id),
    			Name:        pulumi.String("group-1"),
    			Description: pulumi.String("First shard group"),
    			ShardNames: pulumi.StringArray{
    				pulumi.String("shard1"),
    				pulumi.String("shard2"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Selectel = Pulumi.Selectel;
    
    return await Deployment.RunAsync(() => 
    {
        var shardGroup1 = new Selectel.DbaasClickhouseShardGroupV2("shard_group_1", new()
        {
            ProjectId = project1.Id,
            Region = "ru-3",
            DatastoreId = cluster1.Id,
            Name = "group-1",
            Description = "First shard group",
            ShardNames = new[]
            {
                "shard1",
                "shard2",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.selectel.DbaasClickhouseShardGroupV2;
    import com.pulumi.selectel.DbaasClickhouseShardGroupV2Args;
    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) {
            var shardGroup1 = new DbaasClickhouseShardGroupV2("shardGroup1", DbaasClickhouseShardGroupV2Args.builder()
                .projectId(project1.id())
                .region("ru-3")
                .datastoreId(cluster1.id())
                .name("group-1")
                .description("First shard group")
                .shardNames(            
                    "shard1",
                    "shard2")
                .build());
    
        }
    }
    
    resources:
      shardGroup1:
        type: selectel:DbaasClickhouseShardGroupV2
        name: shard_group_1
        properties:
          projectId: ${project1.id}
          region: ru-3
          datastoreId: ${cluster1.id}
          name: group-1
          description: First shard group
          shardNames:
            - shard1
            - shard2
    
    Example coming soon!
    

    Create DbaasClickhouseShardGroupV2 Resource

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

    Constructor syntax

    new DbaasClickhouseShardGroupV2(name: string, args: DbaasClickhouseShardGroupV2Args, opts?: CustomResourceOptions);
    @overload
    def DbaasClickhouseShardGroupV2(resource_name: str,
                                    args: DbaasClickhouseShardGroupV2Args,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def DbaasClickhouseShardGroupV2(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    datastore_id: Optional[str] = None,
                                    project_id: Optional[str] = None,
                                    region: Optional[str] = None,
                                    shard_names: Optional[Sequence[str]] = None,
                                    description: Optional[str] = None,
                                    name: Optional[str] = None,
                                    timeouts: Optional[DbaasClickhouseShardGroupV2TimeoutsArgs] = None)
    func NewDbaasClickhouseShardGroupV2(ctx *Context, name string, args DbaasClickhouseShardGroupV2Args, opts ...ResourceOption) (*DbaasClickhouseShardGroupV2, error)
    public DbaasClickhouseShardGroupV2(string name, DbaasClickhouseShardGroupV2Args args, CustomResourceOptions? opts = null)
    public DbaasClickhouseShardGroupV2(String name, DbaasClickhouseShardGroupV2Args args)
    public DbaasClickhouseShardGroupV2(String name, DbaasClickhouseShardGroupV2Args args, CustomResourceOptions options)
    
    type: selectel:DbaasClickhouseShardGroupV2
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "selectel_dbaas_clickhouse_shard_group_v2" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args DbaasClickhouseShardGroupV2Args
    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 DbaasClickhouseShardGroupV2Args
    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 DbaasClickhouseShardGroupV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DbaasClickhouseShardGroupV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DbaasClickhouseShardGroupV2Args
    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 dbaasClickhouseShardGroupV2Resource = new Selectel.DbaasClickhouseShardGroupV2("dbaasClickhouseShardGroupV2Resource", new()
    {
        DatastoreId = "string",
        ProjectId = "string",
        Region = "string",
        ShardNames = new[]
        {
            "string",
        },
        Description = "string",
        Name = "string",
        Timeouts = new Selectel.Inputs.DbaasClickhouseShardGroupV2TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := selectel.NewDbaasClickhouseShardGroupV2(ctx, "dbaasClickhouseShardGroupV2Resource", &selectel.DbaasClickhouseShardGroupV2Args{
    	DatastoreId: pulumi.String("string"),
    	ProjectId:   pulumi.String("string"),
    	Region:      pulumi.String("string"),
    	ShardNames: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	Timeouts: &selectel.DbaasClickhouseShardGroupV2TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    resource "selectel_dbaas_clickhouse_shard_group_v2" "dbaasClickhouseShardGroupV2Resource" {
      lifecycle {
        create_before_destroy = true
      }
      datastore_id = "string"
      project_id   = "string"
      region       = "string"
      shard_names  = ["string"]
      description  = "string"
      name         = "string"
      timeouts = {
        create = "string"
        delete = "string"
        update = "string"
      }
    }
    
    var dbaasClickhouseShardGroupV2Resource = new DbaasClickhouseShardGroupV2("dbaasClickhouseShardGroupV2Resource", DbaasClickhouseShardGroupV2Args.builder()
        .datastoreId("string")
        .projectId("string")
        .region("string")
        .shardNames("string")
        .description("string")
        .name("string")
        .timeouts(DbaasClickhouseShardGroupV2TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    dbaas_clickhouse_shard_group_v2_resource = selectel.DbaasClickhouseShardGroupV2("dbaasClickhouseShardGroupV2Resource",
        datastore_id="string",
        project_id="string",
        region="string",
        shard_names=["string"],
        description="string",
        name="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const dbaasClickhouseShardGroupV2Resource = new selectel.DbaasClickhouseShardGroupV2("dbaasClickhouseShardGroupV2Resource", {
        datastoreId: "string",
        projectId: "string",
        region: "string",
        shardNames: ["string"],
        description: "string",
        name: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: selectel:DbaasClickhouseShardGroupV2
    properties:
        datastoreId: string
        description: string
        name: string
        projectId: string
        region: string
        shardNames:
            - string
        timeouts:
            create: string
            delete: string
            update: string
    

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

    DatastoreId string
    Unique identifier of the associated ClickHouse cluster. Changing this creates a new shard group. Retrieved from the selectel.DbaasClickhouseDatastoreV2 resource.
    ProjectId string
    Unique identifier of the associated project. Changing this creates a new shard group. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    Region string
    Pool where the cluster is located, for example, ru-3. Changing this creates a new shard group. Learn more about available pools in the Availability matrix.
    ShardNames List<string>
    List of shard names to include in the group. Each shard name must correspond to a node group with the DATA role in the cluster. At least one shard must be specified.
    Description string
    Description of the shard group.
    Name string
    Name of the shard group. Changing this creates a new shard group.
    Timeouts DbaasClickhouseShardGroupV2Timeouts
    DatastoreId string
    Unique identifier of the associated ClickHouse cluster. Changing this creates a new shard group. Retrieved from the selectel.DbaasClickhouseDatastoreV2 resource.
    ProjectId string
    Unique identifier of the associated project. Changing this creates a new shard group. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    Region string
    Pool where the cluster is located, for example, ru-3. Changing this creates a new shard group. Learn more about available pools in the Availability matrix.
    ShardNames []string
    List of shard names to include in the group. Each shard name must correspond to a node group with the DATA role in the cluster. At least one shard must be specified.
    Description string
    Description of the shard group.
    Name string
    Name of the shard group. Changing this creates a new shard group.
    Timeouts DbaasClickhouseShardGroupV2TimeoutsArgs
    datastore_id string
    Unique identifier of the associated ClickHouse cluster. Changing this creates a new shard group. Retrieved from the selectel.DbaasClickhouseDatastoreV2 resource.
    project_id string
    Unique identifier of the associated project. Changing this creates a new shard group. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    region string
    Pool where the cluster is located, for example, ru-3. Changing this creates a new shard group. Learn more about available pools in the Availability matrix.
    shard_names list(string)
    List of shard names to include in the group. Each shard name must correspond to a node group with the DATA role in the cluster. At least one shard must be specified.
    description string
    Description of the shard group.
    name string
    Name of the shard group. Changing this creates a new shard group.
    timeouts object
    datastoreId String
    Unique identifier of the associated ClickHouse cluster. Changing this creates a new shard group. Retrieved from the selectel.DbaasClickhouseDatastoreV2 resource.
    projectId String
    Unique identifier of the associated project. Changing this creates a new shard group. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    region String
    Pool where the cluster is located, for example, ru-3. Changing this creates a new shard group. Learn more about available pools in the Availability matrix.
    shardNames List<String>
    List of shard names to include in the group. Each shard name must correspond to a node group with the DATA role in the cluster. At least one shard must be specified.
    description String
    Description of the shard group.
    name String
    Name of the shard group. Changing this creates a new shard group.
    timeouts DbaasClickhouseShardGroupV2Timeouts
    datastoreId string
    Unique identifier of the associated ClickHouse cluster. Changing this creates a new shard group. Retrieved from the selectel.DbaasClickhouseDatastoreV2 resource.
    projectId string
    Unique identifier of the associated project. Changing this creates a new shard group. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    region string
    Pool where the cluster is located, for example, ru-3. Changing this creates a new shard group. Learn more about available pools in the Availability matrix.
    shardNames string[]
    List of shard names to include in the group. Each shard name must correspond to a node group with the DATA role in the cluster. At least one shard must be specified.
    description string
    Description of the shard group.
    name string
    Name of the shard group. Changing this creates a new shard group.
    timeouts DbaasClickhouseShardGroupV2Timeouts
    datastore_id str
    Unique identifier of the associated ClickHouse cluster. Changing this creates a new shard group. Retrieved from the selectel.DbaasClickhouseDatastoreV2 resource.
    project_id str
    Unique identifier of the associated project. Changing this creates a new shard group. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    region str
    Pool where the cluster is located, for example, ru-3. Changing this creates a new shard group. Learn more about available pools in the Availability matrix.
    shard_names Sequence[str]
    List of shard names to include in the group. Each shard name must correspond to a node group with the DATA role in the cluster. At least one shard must be specified.
    description str
    Description of the shard group.
    name str
    Name of the shard group. Changing this creates a new shard group.
    timeouts DbaasClickhouseShardGroupV2TimeoutsArgs
    datastoreId String
    Unique identifier of the associated ClickHouse cluster. Changing this creates a new shard group. Retrieved from the selectel.DbaasClickhouseDatastoreV2 resource.
    projectId String
    Unique identifier of the associated project. Changing this creates a new shard group. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    region String
    Pool where the cluster is located, for example, ru-3. Changing this creates a new shard group. Learn more about available pools in the Availability matrix.
    shardNames List<String>
    List of shard names to include in the group. Each shard name must correspond to a node group with the DATA role in the cluster. At least one shard must be specified.
    description String
    Description of the shard group.
    name String
    Name of the shard group. Changing this creates a new shard group.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DbaasClickhouseShardGroupV2 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 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 DbaasClickhouseShardGroupV2 Resource

    Get an existing DbaasClickhouseShardGroupV2 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?: DbaasClickhouseShardGroupV2State, opts?: CustomResourceOptions): DbaasClickhouseShardGroupV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            datastore_id: Optional[str] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            project_id: Optional[str] = None,
            region: Optional[str] = None,
            shard_names: Optional[Sequence[str]] = None,
            timeouts: Optional[DbaasClickhouseShardGroupV2TimeoutsArgs] = None) -> DbaasClickhouseShardGroupV2
    func GetDbaasClickhouseShardGroupV2(ctx *Context, name string, id IDInput, state *DbaasClickhouseShardGroupV2State, opts ...ResourceOption) (*DbaasClickhouseShardGroupV2, error)
    public static DbaasClickhouseShardGroupV2 Get(string name, Input<string> id, DbaasClickhouseShardGroupV2State? state, CustomResourceOptions? opts = null)
    public static DbaasClickhouseShardGroupV2 get(String name, Output<String> id, DbaasClickhouseShardGroupV2State state, CustomResourceOptions options)
    resources:  _:    type: selectel:DbaasClickhouseShardGroupV2    get:      id: ${id}
    import {
      to = selectel_dbaas_clickhouse_shard_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:
    DatastoreId string
    Unique identifier of the associated ClickHouse cluster. Changing this creates a new shard group. Retrieved from the selectel.DbaasClickhouseDatastoreV2 resource.
    Description string
    Description of the shard group.
    Name string
    Name of the shard group. Changing this creates a new shard group.
    ProjectId string
    Unique identifier of the associated project. Changing this creates a new shard group. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    Region string
    Pool where the cluster is located, for example, ru-3. Changing this creates a new shard group. Learn more about available pools in the Availability matrix.
    ShardNames List<string>
    List of shard names to include in the group. Each shard name must correspond to a node group with the DATA role in the cluster. At least one shard must be specified.
    Timeouts DbaasClickhouseShardGroupV2Timeouts
    DatastoreId string
    Unique identifier of the associated ClickHouse cluster. Changing this creates a new shard group. Retrieved from the selectel.DbaasClickhouseDatastoreV2 resource.
    Description string
    Description of the shard group.
    Name string
    Name of the shard group. Changing this creates a new shard group.
    ProjectId string
    Unique identifier of the associated project. Changing this creates a new shard group. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    Region string
    Pool where the cluster is located, for example, ru-3. Changing this creates a new shard group. Learn more about available pools in the Availability matrix.
    ShardNames []string
    List of shard names to include in the group. Each shard name must correspond to a node group with the DATA role in the cluster. At least one shard must be specified.
    Timeouts DbaasClickhouseShardGroupV2TimeoutsArgs
    datastore_id string
    Unique identifier of the associated ClickHouse cluster. Changing this creates a new shard group. Retrieved from the selectel.DbaasClickhouseDatastoreV2 resource.
    description string
    Description of the shard group.
    name string
    Name of the shard group. Changing this creates a new shard group.
    project_id string
    Unique identifier of the associated project. Changing this creates a new shard group. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    region string
    Pool where the cluster is located, for example, ru-3. Changing this creates a new shard group. Learn more about available pools in the Availability matrix.
    shard_names list(string)
    List of shard names to include in the group. Each shard name must correspond to a node group with the DATA role in the cluster. At least one shard must be specified.
    timeouts object
    datastoreId String
    Unique identifier of the associated ClickHouse cluster. Changing this creates a new shard group. Retrieved from the selectel.DbaasClickhouseDatastoreV2 resource.
    description String
    Description of the shard group.
    name String
    Name of the shard group. Changing this creates a new shard group.
    projectId String
    Unique identifier of the associated project. Changing this creates a new shard group. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    region String
    Pool where the cluster is located, for example, ru-3. Changing this creates a new shard group. Learn more about available pools in the Availability matrix.
    shardNames List<String>
    List of shard names to include in the group. Each shard name must correspond to a node group with the DATA role in the cluster. At least one shard must be specified.
    timeouts DbaasClickhouseShardGroupV2Timeouts
    datastoreId string
    Unique identifier of the associated ClickHouse cluster. Changing this creates a new shard group. Retrieved from the selectel.DbaasClickhouseDatastoreV2 resource.
    description string
    Description of the shard group.
    name string
    Name of the shard group. Changing this creates a new shard group.
    projectId string
    Unique identifier of the associated project. Changing this creates a new shard group. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    region string
    Pool where the cluster is located, for example, ru-3. Changing this creates a new shard group. Learn more about available pools in the Availability matrix.
    shardNames string[]
    List of shard names to include in the group. Each shard name must correspond to a node group with the DATA role in the cluster. At least one shard must be specified.
    timeouts DbaasClickhouseShardGroupV2Timeouts
    datastore_id str
    Unique identifier of the associated ClickHouse cluster. Changing this creates a new shard group. Retrieved from the selectel.DbaasClickhouseDatastoreV2 resource.
    description str
    Description of the shard group.
    name str
    Name of the shard group. Changing this creates a new shard group.
    project_id str
    Unique identifier of the associated project. Changing this creates a new shard group. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    region str
    Pool where the cluster is located, for example, ru-3. Changing this creates a new shard group. Learn more about available pools in the Availability matrix.
    shard_names Sequence[str]
    List of shard names to include in the group. Each shard name must correspond to a node group with the DATA role in the cluster. At least one shard must be specified.
    timeouts DbaasClickhouseShardGroupV2TimeoutsArgs
    datastoreId String
    Unique identifier of the associated ClickHouse cluster. Changing this creates a new shard group. Retrieved from the selectel.DbaasClickhouseDatastoreV2 resource.
    description String
    Description of the shard group.
    name String
    Name of the shard group. Changing this creates a new shard group.
    projectId String
    Unique identifier of the associated project. Changing this creates a new shard group. Retrieved from the selectel.VpcProjectV2 resource. Learn more about Projects.
    region String
    Pool where the cluster is located, for example, ru-3. Changing this creates a new shard group. Learn more about available pools in the Availability matrix.
    shardNames List<String>
    List of shard names to include in the group. Each shard name must correspond to a node group with the DATA role in the cluster. At least one shard must be specified.
    timeouts Property Map

    Supporting Types

    DbaasClickhouseShardGroupV2Timeouts, DbaasClickhouseShardGroupV2TimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create string
    delete string
    update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Import

    You can import a shard group:

    export OS_DOMAIN_NAME=<account_id>

    export OS_USERNAME=

    export OS_PASSWORD=

    export INFRA_PROJECT_ID=<selectel_project_id>

    export INFRA_REGION=<selectel_pool>

    $ pulumi import selectel:index/dbaasClickhouseShardGroupV2:DbaasClickhouseShardGroupV2 shard_group_1 <datastore_id>/<shard_group_id>
    

    where:

    • <account_id> — Selectel account ID. The account ID is in the top right corner of the Control panel. Learn more about Registration.

    • <username> — Name of the service user. To get the name, in the Control panel, go to Identity & Access Management ⟶ User management ⟶ the Service users tab ⟶ copy the name of the required user. Learn more about Service users.

    • <password> — Password of the service user.

    • <selectel_project_id> — Unique identifier of the associated project. To get the ID, in the Control panel, go to Cloud Platform ⟶ project name ⟶ copy the ID of the required project. Learn more about Projects.

    • <selectel_pool> — Pool where the cluster is located, for example, ru-3. To get information about the pool, in the Control panel, go to Cloud Platform ⟶ Managed Databases. The pool is in the Pool column.

    • <datastore_id> — Unique identifier of the cluster. To get the cluster ID in the Control panel, go to Cloud Platform ⟶ Managed Databases ⟶ copy the ID under the cluster name.

    • <shard_group_id> — Unique identifier of the shard group.

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    selectel selectel/terraform-provider-selectel
    License
    Notes
    This Pulumi package is based on the selectel Terraform Provider.
    selectel
    Viewing docs for selectel 8.6.0
    published on Friday, Oct 2, 2026 by selectel

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial