1. Packages
  2. Packages
  3. Aiven Provider
  4. API Docs
  5. OpensearchUser
Viewing docs for Aiven v6.53.1
published on Thursday, Apr 23, 2026 by Pulumi
aiven logo
Viewing docs for Aiven v6.53.1
published on Thursday, Apr 23, 2026 by Pulumi

    Creates and manages an Aiven for OpenSearch® service user. If this resource is missing (for example, after a service power off), it’s removed from the state and a new create plan is generated.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aiven from "@pulumi/aiven";
    
    const exampleOpensearchUser = new aiven.OpensearchUser("example_opensearch_user", {
        serviceName: exampleOpensearch.serviceName,
        project: exampleProject.project,
        username: "example-opensearch-user",
        password: opensearchUserPassword,
    });
    
    import pulumi
    import pulumi_aiven as aiven
    
    example_opensearch_user = aiven.OpensearchUser("example_opensearch_user",
        service_name=example_opensearch["serviceName"],
        project=example_project["project"],
        username="example-opensearch-user",
        password=opensearch_user_password)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aiven/sdk/v6/go/aiven"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := aiven.NewOpensearchUser(ctx, "example_opensearch_user", &aiven.OpensearchUserArgs{
    			ServiceName: pulumi.Any(exampleOpensearch.ServiceName),
    			Project:     pulumi.Any(exampleProject.Project),
    			Username:    pulumi.String("example-opensearch-user"),
    			Password:    pulumi.Any(opensearchUserPassword),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aiven = Pulumi.Aiven;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleOpensearchUser = new Aiven.Index.OpensearchUser("example_opensearch_user", new()
        {
            ServiceName = exampleOpensearch.ServiceName,
            Project = exampleProject.Project,
            Username = "example-opensearch-user",
            Password = opensearchUserPassword,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aiven.OpensearchUser;
    import com.pulumi.aiven.OpensearchUserArgs;
    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 exampleOpensearchUser = new OpensearchUser("exampleOpensearchUser", OpensearchUserArgs.builder()
                .serviceName(exampleOpensearch.serviceName())
                .project(exampleProject.project())
                .username("example-opensearch-user")
                .password(opensearchUserPassword)
                .build());
    
        }
    }
    
    resources:
      exampleOpensearchUser:
        type: aiven:OpensearchUser
        name: example_opensearch_user
        properties:
          serviceName: ${exampleOpensearch.serviceName}
          project: ${exampleProject.project}
          username: example-opensearch-user
          password: ${opensearchUserPassword}
    
    Example coming soon!
    

    Create OpensearchUser Resource

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

    Constructor syntax

    new OpensearchUser(name: string, args: OpensearchUserArgs, opts?: CustomResourceOptions);
    @overload
    def OpensearchUser(resource_name: str,
                       args: OpensearchUserArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def OpensearchUser(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       project: Optional[str] = None,
                       service_name: Optional[str] = None,
                       username: Optional[str] = None,
                       password: Optional[str] = None,
                       password_wo: Optional[str] = None,
                       password_wo_version: Optional[int] = None,
                       timeouts: Optional[OpensearchUserTimeoutsArgs] = None)
    func NewOpensearchUser(ctx *Context, name string, args OpensearchUserArgs, opts ...ResourceOption) (*OpensearchUser, error)
    public OpensearchUser(string name, OpensearchUserArgs args, CustomResourceOptions? opts = null)
    public OpensearchUser(String name, OpensearchUserArgs args)
    public OpensearchUser(String name, OpensearchUserArgs args, CustomResourceOptions options)
    
    type: aiven:OpensearchUser
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aiven_opensearchuser" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args OpensearchUserArgs
    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 OpensearchUserArgs
    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 OpensearchUserArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OpensearchUserArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OpensearchUserArgs
    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 opensearchUserResource = new Aiven.OpensearchUser("opensearchUserResource", new()
    {
        Project = "string",
        ServiceName = "string",
        Username = "string",
        Password = "string",
        PasswordWo = "string",
        PasswordWoVersion = 0,
        Timeouts = new Aiven.Inputs.OpensearchUserTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Read = "string",
            Update = "string",
        },
    });
    
    example, err := aiven.NewOpensearchUser(ctx, "opensearchUserResource", &aiven.OpensearchUserArgs{
    	Project:           pulumi.String("string"),
    	ServiceName:       pulumi.String("string"),
    	Username:          pulumi.String("string"),
    	Password:          pulumi.String("string"),
    	PasswordWo:        pulumi.String("string"),
    	PasswordWoVersion: pulumi.Int(0),
    	Timeouts: &aiven.OpensearchUserTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Read:   pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    resource "aiven_opensearchuser" "opensearchUserResource" {
      project             = "string"
      service_name        = "string"
      username            = "string"
      password            = "string"
      password_wo         = "string"
      password_wo_version = 0
      timeouts = {
        create = "string"
        delete = "string"
        read   = "string"
        update = "string"
      }
    }
    
    var opensearchUserResource = new OpensearchUser("opensearchUserResource", OpensearchUserArgs.builder()
        .project("string")
        .serviceName("string")
        .username("string")
        .password("string")
        .passwordWo("string")
        .passwordWoVersion(0)
        .timeouts(OpensearchUserTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .read("string")
            .update("string")
            .build())
        .build());
    
    opensearch_user_resource = aiven.OpensearchUser("opensearchUserResource",
        project="string",
        service_name="string",
        username="string",
        password="string",
        password_wo="string",
        password_wo_version=0,
        timeouts={
            "create": "string",
            "delete": "string",
            "read": "string",
            "update": "string",
        })
    
    const opensearchUserResource = new aiven.OpensearchUser("opensearchUserResource", {
        project: "string",
        serviceName: "string",
        username: "string",
        password: "string",
        passwordWo: "string",
        passwordWoVersion: 0,
        timeouts: {
            create: "string",
            "delete": "string",
            read: "string",
            update: "string",
        },
    });
    
    type: aiven:OpensearchUser
    properties:
        password: string
        passwordWo: string
        passwordWoVersion: 0
        project: string
        serviceName: string
        timeouts:
            create: string
            delete: string
            read: string
            update: string
        username: string
    

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

    Project string
    Project name. Changing this property forces recreation of the resource.
    ServiceName string
    Service name. Changing this property forces recreation of the resource.
    Username string
    Account username. Maximum length: 64. Changing this property forces recreation of the resource.
    Password string
    The password of the service user (auto-generated if not provided). The field conflicts with passwordWo. Length must be between 8 and 256.
    PasswordWo string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. The password of the service user (write-only, not stored in state). The field is required with passwordWoVersion. The field conflicts with password. Length must be between 8 and 256.
    PasswordWoVersion int
    Version number for passwordWo. Increment this to rotate the password. Must be >= 1. The field is required with passwordWo. Minimum value: 1.
    Timeouts OpensearchUserTimeouts
    Project string
    Project name. Changing this property forces recreation of the resource.
    ServiceName string
    Service name. Changing this property forces recreation of the resource.
    Username string
    Account username. Maximum length: 64. Changing this property forces recreation of the resource.
    Password string
    The password of the service user (auto-generated if not provided). The field conflicts with passwordWo. Length must be between 8 and 256.
    PasswordWo string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. The password of the service user (write-only, not stored in state). The field is required with passwordWoVersion. The field conflicts with password. Length must be between 8 and 256.
    PasswordWoVersion int
    Version number for passwordWo. Increment this to rotate the password. Must be >= 1. The field is required with passwordWo. Minimum value: 1.
    Timeouts OpensearchUserTimeoutsArgs
    project string
    Project name. Changing this property forces recreation of the resource.
    service_name string
    Service name. Changing this property forces recreation of the resource.
    username string
    Account username. Maximum length: 64. Changing this property forces recreation of the resource.
    password string
    The password of the service user (auto-generated if not provided). The field conflicts with passwordWo. Length must be between 8 and 256.
    password_wo string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. The password of the service user (write-only, not stored in state). The field is required with passwordWoVersion. The field conflicts with password. Length must be between 8 and 256.
    password_wo_version number
    Version number for passwordWo. Increment this to rotate the password. Must be >= 1. The field is required with passwordWo. Minimum value: 1.
    timeouts object
    project String
    Project name. Changing this property forces recreation of the resource.
    serviceName String
    Service name. Changing this property forces recreation of the resource.
    username String
    Account username. Maximum length: 64. Changing this property forces recreation of the resource.
    password String
    The password of the service user (auto-generated if not provided). The field conflicts with passwordWo. Length must be between 8 and 256.
    passwordWo String
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. The password of the service user (write-only, not stored in state). The field is required with passwordWoVersion. The field conflicts with password. Length must be between 8 and 256.
    passwordWoVersion Integer
    Version number for passwordWo. Increment this to rotate the password. Must be >= 1. The field is required with passwordWo. Minimum value: 1.
    timeouts OpensearchUserTimeouts
    project string
    Project name. Changing this property forces recreation of the resource.
    serviceName string
    Service name. Changing this property forces recreation of the resource.
    username string
    Account username. Maximum length: 64. Changing this property forces recreation of the resource.
    password string
    The password of the service user (auto-generated if not provided). The field conflicts with passwordWo. Length must be between 8 and 256.
    passwordWo string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. The password of the service user (write-only, not stored in state). The field is required with passwordWoVersion. The field conflicts with password. Length must be between 8 and 256.
    passwordWoVersion number
    Version number for passwordWo. Increment this to rotate the password. Must be >= 1. The field is required with passwordWo. Minimum value: 1.
    timeouts OpensearchUserTimeouts
    project str
    Project name. Changing this property forces recreation of the resource.
    service_name str
    Service name. Changing this property forces recreation of the resource.
    username str
    Account username. Maximum length: 64. Changing this property forces recreation of the resource.
    password str
    The password of the service user (auto-generated if not provided). The field conflicts with passwordWo. Length must be between 8 and 256.
    password_wo str
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. The password of the service user (write-only, not stored in state). The field is required with passwordWoVersion. The field conflicts with password. Length must be between 8 and 256.
    password_wo_version int
    Version number for passwordWo. Increment this to rotate the password. Must be >= 1. The field is required with passwordWo. Minimum value: 1.
    timeouts OpensearchUserTimeoutsArgs
    project String
    Project name. Changing this property forces recreation of the resource.
    serviceName String
    Service name. Changing this property forces recreation of the resource.
    username String
    Account username. Maximum length: 64. Changing this property forces recreation of the resource.
    password String
    The password of the service user (auto-generated if not provided). The field conflicts with passwordWo. Length must be between 8 and 256.
    passwordWo String
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. The password of the service user (write-only, not stored in state). The field is required with passwordWoVersion. The field conflicts with password. Length must be between 8 and 256.
    passwordWoVersion Number
    Version number for passwordWo. Increment this to rotate the password. Must be >= 1. The field is required with passwordWo. Minimum value: 1.
    timeouts Property Map

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Type string
    Account type.
    Id string
    The provider-assigned unique ID for this managed resource.
    Type string
    Account type.
    id string
    The provider-assigned unique ID for this managed resource.
    type string
    Account type.
    id String
    The provider-assigned unique ID for this managed resource.
    type String
    Account type.
    id string
    The provider-assigned unique ID for this managed resource.
    type string
    Account type.
    id str
    The provider-assigned unique ID for this managed resource.
    type str
    Account type.
    id String
    The provider-assigned unique ID for this managed resource.
    type String
    Account type.

    Look up Existing OpensearchUser Resource

    Get an existing OpensearchUser 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?: OpensearchUserState, opts?: CustomResourceOptions): OpensearchUser
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            password: Optional[str] = None,
            password_wo: Optional[str] = None,
            password_wo_version: Optional[int] = None,
            project: Optional[str] = None,
            service_name: Optional[str] = None,
            timeouts: Optional[OpensearchUserTimeoutsArgs] = None,
            type: Optional[str] = None,
            username: Optional[str] = None) -> OpensearchUser
    func GetOpensearchUser(ctx *Context, name string, id IDInput, state *OpensearchUserState, opts ...ResourceOption) (*OpensearchUser, error)
    public static OpensearchUser Get(string name, Input<string> id, OpensearchUserState? state, CustomResourceOptions? opts = null)
    public static OpensearchUser get(String name, Output<String> id, OpensearchUserState state, CustomResourceOptions options)
    resources:  _:    type: aiven:OpensearchUser    get:      id: ${id}
    import {
      to = aiven_opensearchuser.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:
    Password string
    The password of the service user (auto-generated if not provided). The field conflicts with passwordWo. Length must be between 8 and 256.
    PasswordWo string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. The password of the service user (write-only, not stored in state). The field is required with passwordWoVersion. The field conflicts with password. Length must be between 8 and 256.
    PasswordWoVersion int
    Version number for passwordWo. Increment this to rotate the password. Must be >= 1. The field is required with passwordWo. Minimum value: 1.
    Project string
    Project name. Changing this property forces recreation of the resource.
    ServiceName string
    Service name. Changing this property forces recreation of the resource.
    Timeouts OpensearchUserTimeouts
    Type string
    Account type.
    Username string
    Account username. Maximum length: 64. Changing this property forces recreation of the resource.
    Password string
    The password of the service user (auto-generated if not provided). The field conflicts with passwordWo. Length must be between 8 and 256.
    PasswordWo string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. The password of the service user (write-only, not stored in state). The field is required with passwordWoVersion. The field conflicts with password. Length must be between 8 and 256.
    PasswordWoVersion int
    Version number for passwordWo. Increment this to rotate the password. Must be >= 1. The field is required with passwordWo. Minimum value: 1.
    Project string
    Project name. Changing this property forces recreation of the resource.
    ServiceName string
    Service name. Changing this property forces recreation of the resource.
    Timeouts OpensearchUserTimeoutsArgs
    Type string
    Account type.
    Username string
    Account username. Maximum length: 64. Changing this property forces recreation of the resource.
    password string
    The password of the service user (auto-generated if not provided). The field conflicts with passwordWo. Length must be between 8 and 256.
    password_wo string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. The password of the service user (write-only, not stored in state). The field is required with passwordWoVersion. The field conflicts with password. Length must be between 8 and 256.
    password_wo_version number
    Version number for passwordWo. Increment this to rotate the password. Must be >= 1. The field is required with passwordWo. Minimum value: 1.
    project string
    Project name. Changing this property forces recreation of the resource.
    service_name string
    Service name. Changing this property forces recreation of the resource.
    timeouts object
    type string
    Account type.
    username string
    Account username. Maximum length: 64. Changing this property forces recreation of the resource.
    password String
    The password of the service user (auto-generated if not provided). The field conflicts with passwordWo. Length must be between 8 and 256.
    passwordWo String
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. The password of the service user (write-only, not stored in state). The field is required with passwordWoVersion. The field conflicts with password. Length must be between 8 and 256.
    passwordWoVersion Integer
    Version number for passwordWo. Increment this to rotate the password. Must be >= 1. The field is required with passwordWo. Minimum value: 1.
    project String
    Project name. Changing this property forces recreation of the resource.
    serviceName String
    Service name. Changing this property forces recreation of the resource.
    timeouts OpensearchUserTimeouts
    type String
    Account type.
    username String
    Account username. Maximum length: 64. Changing this property forces recreation of the resource.
    password string
    The password of the service user (auto-generated if not provided). The field conflicts with passwordWo. Length must be between 8 and 256.
    passwordWo string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. The password of the service user (write-only, not stored in state). The field is required with passwordWoVersion. The field conflicts with password. Length must be between 8 and 256.
    passwordWoVersion number
    Version number for passwordWo. Increment this to rotate the password. Must be >= 1. The field is required with passwordWo. Minimum value: 1.
    project string
    Project name. Changing this property forces recreation of the resource.
    serviceName string
    Service name. Changing this property forces recreation of the resource.
    timeouts OpensearchUserTimeouts
    type string
    Account type.
    username string
    Account username. Maximum length: 64. Changing this property forces recreation of the resource.
    password str
    The password of the service user (auto-generated if not provided). The field conflicts with passwordWo. Length must be between 8 and 256.
    password_wo str
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. The password of the service user (write-only, not stored in state). The field is required with passwordWoVersion. The field conflicts with password. Length must be between 8 and 256.
    password_wo_version int
    Version number for passwordWo. Increment this to rotate the password. Must be >= 1. The field is required with passwordWo. Minimum value: 1.
    project str
    Project name. Changing this property forces recreation of the resource.
    service_name str
    Service name. Changing this property forces recreation of the resource.
    timeouts OpensearchUserTimeoutsArgs
    type str
    Account type.
    username str
    Account username. Maximum length: 64. Changing this property forces recreation of the resource.
    password String
    The password of the service user (auto-generated if not provided). The field conflicts with passwordWo. Length must be between 8 and 256.
    passwordWo String
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. The password of the service user (write-only, not stored in state). The field is required with passwordWoVersion. The field conflicts with password. Length must be between 8 and 256.
    passwordWoVersion Number
    Version number for passwordWo. Increment this to rotate the password. Must be >= 1. The field is required with passwordWo. Minimum value: 1.
    project String
    Project name. Changing this property forces recreation of the resource.
    serviceName String
    Service name. Changing this property forces recreation of the resource.
    timeouts Property Map
    type String
    Account type.
    username String
    Account username. Maximum length: 64. Changing this property forces recreation of the resource.

    Supporting Types

    OpensearchUserTimeouts, OpensearchUserTimeoutsArgs

    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Default string
    Timeout for all operations. Deprecated, use operation-specific timeouts instead.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Default string
    Timeout for all operations. Deprecated, use operation-specific timeouts instead.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    default string
    Timeout for all operations. Deprecated, use operation-specific timeouts instead.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    default_ String
    Timeout for all operations. Deprecated, use operation-specific timeouts instead.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    default string
    Timeout for all operations. Deprecated, use operation-specific timeouts instead.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    default str
    Timeout for all operations. Deprecated, use operation-specific timeouts instead.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    delete str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    default String
    Timeout for all operations. Deprecated, use operation-specific timeouts instead.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    Import

    $ pulumi import aiven:index/opensearchUser:OpensearchUser example PROJECT/SERVICE_NAME/USERNAME
    

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

    Package Details

    Repository
    Aiven pulumi/pulumi-aiven
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aiven Terraform Provider.
    aiven logo
    Viewing docs for Aiven v6.53.1
    published on Thursday, Apr 23, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.