1. Packages
  2. stackit
  3. API Docs
  4. Volume
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud

    Example Usage

    resource "stackit_volume" "example" {
      project_id        = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      name              = "my_volume"
      availability_zone = "eu01-1"
      size              = 64
      labels = {
        "key" = "value"
      }
    }
    
    # Only use the import statement, if you want to import an existing volume
    import {
      to = stackit_volume.import-example
      id = "${var.project_id},${var.region},${var.volume_id}"
    }
    

    Create Volume Resource

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

    Constructor syntax

    new Volume(name: string, args: VolumeArgs, opts?: CustomResourceOptions);
    @overload
    def Volume(resource_name: str,
               args: VolumeArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Volume(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               availability_zone: Optional[str] = None,
               project_id: Optional[str] = None,
               description: Optional[str] = None,
               encryption_parameters: Optional[VolumeEncryptionParametersArgs] = None,
               labels: Optional[Mapping[str, str]] = None,
               name: Optional[str] = None,
               performance_class: Optional[str] = None,
               region: Optional[str] = None,
               size: Optional[int] = None,
               source: Optional[VolumeSourceArgs] = None)
    func NewVolume(ctx *Context, name string, args VolumeArgs, opts ...ResourceOption) (*Volume, error)
    public Volume(string name, VolumeArgs args, CustomResourceOptions? opts = null)
    public Volume(String name, VolumeArgs args)
    public Volume(String name, VolumeArgs args, CustomResourceOptions options)
    
    type: stackit:Volume
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args VolumeArgs
    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 VolumeArgs
    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 VolumeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VolumeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VolumeArgs
    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 volumeResource = new Stackit.Volume("volumeResource", new()
    {
        AvailabilityZone = "string",
        ProjectId = "string",
        Description = "string",
        EncryptionParameters = new Stackit.Inputs.VolumeEncryptionParametersArgs
        {
            KekKeyId = "string",
            KekKeyVersion = 0,
            KekKeyringId = "string",
            ServiceAccount = "string",
            KeyPayloadBase64 = "string",
            KeyPayloadBase64Wo = "string",
            KeyPayloadBase64WoVersion = 0,
        },
        Labels = 
        {
            { "string", "string" },
        },
        Name = "string",
        PerformanceClass = "string",
        Region = "string",
        Size = 0,
        Source = new Stackit.Inputs.VolumeSourceArgs
        {
            Id = "string",
            Type = "string",
        },
    });
    
    example, err := stackit.NewVolume(ctx, "volumeResource", &stackit.VolumeArgs{
    	AvailabilityZone: pulumi.String("string"),
    	ProjectId:        pulumi.String("string"),
    	Description:      pulumi.String("string"),
    	EncryptionParameters: &stackit.VolumeEncryptionParametersArgs{
    		KekKeyId:                  pulumi.String("string"),
    		KekKeyVersion:             pulumi.Int(0),
    		KekKeyringId:              pulumi.String("string"),
    		ServiceAccount:            pulumi.String("string"),
    		KeyPayloadBase64:          pulumi.String("string"),
    		KeyPayloadBase64Wo:        pulumi.String("string"),
    		KeyPayloadBase64WoVersion: pulumi.Int(0),
    	},
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Name:             pulumi.String("string"),
    	PerformanceClass: pulumi.String("string"),
    	Region:           pulumi.String("string"),
    	Size:             pulumi.Int(0),
    	Source: &stackit.VolumeSourceArgs{
    		Id:   pulumi.String("string"),
    		Type: pulumi.String("string"),
    	},
    })
    
    var volumeResource = new Volume("volumeResource", VolumeArgs.builder()
        .availabilityZone("string")
        .projectId("string")
        .description("string")
        .encryptionParameters(VolumeEncryptionParametersArgs.builder()
            .kekKeyId("string")
            .kekKeyVersion(0)
            .kekKeyringId("string")
            .serviceAccount("string")
            .keyPayloadBase64("string")
            .keyPayloadBase64Wo("string")
            .keyPayloadBase64WoVersion(0)
            .build())
        .labels(Map.of("string", "string"))
        .name("string")
        .performanceClass("string")
        .region("string")
        .size(0)
        .source(VolumeSourceArgs.builder()
            .id("string")
            .type("string")
            .build())
        .build());
    
    volume_resource = stackit.Volume("volumeResource",
        availability_zone="string",
        project_id="string",
        description="string",
        encryption_parameters={
            "kek_key_id": "string",
            "kek_key_version": 0,
            "kek_keyring_id": "string",
            "service_account": "string",
            "key_payload_base64": "string",
            "key_payload_base64_wo": "string",
            "key_payload_base64_wo_version": 0,
        },
        labels={
            "string": "string",
        },
        name="string",
        performance_class="string",
        region="string",
        size=0,
        source={
            "id": "string",
            "type": "string",
        })
    
    const volumeResource = new stackit.Volume("volumeResource", {
        availabilityZone: "string",
        projectId: "string",
        description: "string",
        encryptionParameters: {
            kekKeyId: "string",
            kekKeyVersion: 0,
            kekKeyringId: "string",
            serviceAccount: "string",
            keyPayloadBase64: "string",
            keyPayloadBase64Wo: "string",
            keyPayloadBase64WoVersion: 0,
        },
        labels: {
            string: "string",
        },
        name: "string",
        performanceClass: "string",
        region: "string",
        size: 0,
        source: {
            id: "string",
            type: "string",
        },
    });
    
    type: stackit:Volume
    properties:
        availabilityZone: string
        description: string
        encryptionParameters:
            kekKeyId: string
            kekKeyVersion: 0
            kekKeyringId: string
            keyPayloadBase64: string
            keyPayloadBase64Wo: string
            keyPayloadBase64WoVersion: 0
            serviceAccount: string
        labels:
            string: string
        name: string
        performanceClass: string
        projectId: string
        region: string
        size: 0
        source:
            id: string
            type: string
    

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

    AvailabilityZone string
    The availability zone of the volume.
    ProjectId string
    STACKIT project ID to which the volume is associated.
    Description string
    The description of the volume.
    EncryptionParameters VolumeEncryptionParameters
    Labels Dictionary<string, string>
    Labels are key-value string pairs which can be attached to a resource container
    Name string
    The name of the volume.
    PerformanceClass string
    The performance class of the volume. Possible values are documented in Service plans BlockStorage
    Region string
    The resource region. If not defined, the provider region is used.
    Size int
    The size of the volume in GB. It can only be updated to a larger value than the current size. Either size or source must be provided
    Source VolumeSource
    The source of the volume. It can be either a volume, an image, a snapshot or a backup. Either size or source must be provided
    AvailabilityZone string
    The availability zone of the volume.
    ProjectId string
    STACKIT project ID to which the volume is associated.
    Description string
    The description of the volume.
    EncryptionParameters VolumeEncryptionParametersArgs
    Labels map[string]string
    Labels are key-value string pairs which can be attached to a resource container
    Name string
    The name of the volume.
    PerformanceClass string
    The performance class of the volume. Possible values are documented in Service plans BlockStorage
    Region string
    The resource region. If not defined, the provider region is used.
    Size int
    The size of the volume in GB. It can only be updated to a larger value than the current size. Either size or source must be provided
    Source VolumeSourceArgs
    The source of the volume. It can be either a volume, an image, a snapshot or a backup. Either size or source must be provided
    availabilityZone String
    The availability zone of the volume.
    projectId String
    STACKIT project ID to which the volume is associated.
    description String
    The description of the volume.
    encryptionParameters VolumeEncryptionParameters
    labels Map<String,String>
    Labels are key-value string pairs which can be attached to a resource container
    name String
    The name of the volume.
    performanceClass String
    The performance class of the volume. Possible values are documented in Service plans BlockStorage
    region String
    The resource region. If not defined, the provider region is used.
    size Integer
    The size of the volume in GB. It can only be updated to a larger value than the current size. Either size or source must be provided
    source VolumeSource
    The source of the volume. It can be either a volume, an image, a snapshot or a backup. Either size or source must be provided
    availabilityZone string
    The availability zone of the volume.
    projectId string
    STACKIT project ID to which the volume is associated.
    description string
    The description of the volume.
    encryptionParameters VolumeEncryptionParameters
    labels {[key: string]: string}
    Labels are key-value string pairs which can be attached to a resource container
    name string
    The name of the volume.
    performanceClass string
    The performance class of the volume. Possible values are documented in Service plans BlockStorage
    region string
    The resource region. If not defined, the provider region is used.
    size number
    The size of the volume in GB. It can only be updated to a larger value than the current size. Either size or source must be provided
    source VolumeSource
    The source of the volume. It can be either a volume, an image, a snapshot or a backup. Either size or source must be provided
    availability_zone str
    The availability zone of the volume.
    project_id str
    STACKIT project ID to which the volume is associated.
    description str
    The description of the volume.
    encryption_parameters VolumeEncryptionParametersArgs
    labels Mapping[str, str]
    Labels are key-value string pairs which can be attached to a resource container
    name str
    The name of the volume.
    performance_class str
    The performance class of the volume. Possible values are documented in Service plans BlockStorage
    region str
    The resource region. If not defined, the provider region is used.
    size int
    The size of the volume in GB. It can only be updated to a larger value than the current size. Either size or source must be provided
    source VolumeSourceArgs
    The source of the volume. It can be either a volume, an image, a snapshot or a backup. Either size or source must be provided
    availabilityZone String
    The availability zone of the volume.
    projectId String
    STACKIT project ID to which the volume is associated.
    description String
    The description of the volume.
    encryptionParameters Property Map
    labels Map<String>
    Labels are key-value string pairs which can be attached to a resource container
    name String
    The name of the volume.
    performanceClass String
    The performance class of the volume. Possible values are documented in Service plans BlockStorage
    region String
    The resource region. If not defined, the provider region is used.
    size Number
    The size of the volume in GB. It can only be updated to a larger value than the current size. Either size or source must be provided
    source Property Map
    The source of the volume. It can be either a volume, an image, a snapshot or a backup. Either size or source must be provided

    Outputs

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

    Encrypted bool
    Indicates if the volume is encrypted.
    Id string
    The provider-assigned unique ID for this managed resource.
    ServerId string
    The server ID of the server to which the volume is attached to.
    VolumeId string
    The volume ID.
    Encrypted bool
    Indicates if the volume is encrypted.
    Id string
    The provider-assigned unique ID for this managed resource.
    ServerId string
    The server ID of the server to which the volume is attached to.
    VolumeId string
    The volume ID.
    encrypted Boolean
    Indicates if the volume is encrypted.
    id String
    The provider-assigned unique ID for this managed resource.
    serverId String
    The server ID of the server to which the volume is attached to.
    volumeId String
    The volume ID.
    encrypted boolean
    Indicates if the volume is encrypted.
    id string
    The provider-assigned unique ID for this managed resource.
    serverId string
    The server ID of the server to which the volume is attached to.
    volumeId string
    The volume ID.
    encrypted bool
    Indicates if the volume is encrypted.
    id str
    The provider-assigned unique ID for this managed resource.
    server_id str
    The server ID of the server to which the volume is attached to.
    volume_id str
    The volume ID.
    encrypted Boolean
    Indicates if the volume is encrypted.
    id String
    The provider-assigned unique ID for this managed resource.
    serverId String
    The server ID of the server to which the volume is attached to.
    volumeId String
    The volume ID.

    Look up Existing Volume Resource

    Get an existing Volume 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?: VolumeState, opts?: CustomResourceOptions): Volume
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            availability_zone: Optional[str] = None,
            description: Optional[str] = None,
            encrypted: Optional[bool] = None,
            encryption_parameters: Optional[VolumeEncryptionParametersArgs] = None,
            labels: Optional[Mapping[str, str]] = None,
            name: Optional[str] = None,
            performance_class: Optional[str] = None,
            project_id: Optional[str] = None,
            region: Optional[str] = None,
            server_id: Optional[str] = None,
            size: Optional[int] = None,
            source: Optional[VolumeSourceArgs] = None,
            volume_id: Optional[str] = None) -> Volume
    func GetVolume(ctx *Context, name string, id IDInput, state *VolumeState, opts ...ResourceOption) (*Volume, error)
    public static Volume Get(string name, Input<string> id, VolumeState? state, CustomResourceOptions? opts = null)
    public static Volume get(String name, Output<String> id, VolumeState state, CustomResourceOptions options)
    resources:  _:    type: stackit:Volume    get:      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:
    AvailabilityZone string
    The availability zone of the volume.
    Description string
    The description of the volume.
    Encrypted bool
    Indicates if the volume is encrypted.
    EncryptionParameters VolumeEncryptionParameters
    Labels Dictionary<string, string>
    Labels are key-value string pairs which can be attached to a resource container
    Name string
    The name of the volume.
    PerformanceClass string
    The performance class of the volume. Possible values are documented in Service plans BlockStorage
    ProjectId string
    STACKIT project ID to which the volume is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    ServerId string
    The server ID of the server to which the volume is attached to.
    Size int
    The size of the volume in GB. It can only be updated to a larger value than the current size. Either size or source must be provided
    Source VolumeSource
    The source of the volume. It can be either a volume, an image, a snapshot or a backup. Either size or source must be provided
    VolumeId string
    The volume ID.
    AvailabilityZone string
    The availability zone of the volume.
    Description string
    The description of the volume.
    Encrypted bool
    Indicates if the volume is encrypted.
    EncryptionParameters VolumeEncryptionParametersArgs
    Labels map[string]string
    Labels are key-value string pairs which can be attached to a resource container
    Name string
    The name of the volume.
    PerformanceClass string
    The performance class of the volume. Possible values are documented in Service plans BlockStorage
    ProjectId string
    STACKIT project ID to which the volume is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    ServerId string
    The server ID of the server to which the volume is attached to.
    Size int
    The size of the volume in GB. It can only be updated to a larger value than the current size. Either size or source must be provided
    Source VolumeSourceArgs
    The source of the volume. It can be either a volume, an image, a snapshot or a backup. Either size or source must be provided
    VolumeId string
    The volume ID.
    availabilityZone String
    The availability zone of the volume.
    description String
    The description of the volume.
    encrypted Boolean
    Indicates if the volume is encrypted.
    encryptionParameters VolumeEncryptionParameters
    labels Map<String,String>
    Labels are key-value string pairs which can be attached to a resource container
    name String
    The name of the volume.
    performanceClass String
    The performance class of the volume. Possible values are documented in Service plans BlockStorage
    projectId String
    STACKIT project ID to which the volume is associated.
    region String
    The resource region. If not defined, the provider region is used.
    serverId String
    The server ID of the server to which the volume is attached to.
    size Integer
    The size of the volume in GB. It can only be updated to a larger value than the current size. Either size or source must be provided
    source VolumeSource
    The source of the volume. It can be either a volume, an image, a snapshot or a backup. Either size or source must be provided
    volumeId String
    The volume ID.
    availabilityZone string
    The availability zone of the volume.
    description string
    The description of the volume.
    encrypted boolean
    Indicates if the volume is encrypted.
    encryptionParameters VolumeEncryptionParameters
    labels {[key: string]: string}
    Labels are key-value string pairs which can be attached to a resource container
    name string
    The name of the volume.
    performanceClass string
    The performance class of the volume. Possible values are documented in Service plans BlockStorage
    projectId string
    STACKIT project ID to which the volume is associated.
    region string
    The resource region. If not defined, the provider region is used.
    serverId string
    The server ID of the server to which the volume is attached to.
    size number
    The size of the volume in GB. It can only be updated to a larger value than the current size. Either size or source must be provided
    source VolumeSource
    The source of the volume. It can be either a volume, an image, a snapshot or a backup. Either size or source must be provided
    volumeId string
    The volume ID.
    availability_zone str
    The availability zone of the volume.
    description str
    The description of the volume.
    encrypted bool
    Indicates if the volume is encrypted.
    encryption_parameters VolumeEncryptionParametersArgs
    labels Mapping[str, str]
    Labels are key-value string pairs which can be attached to a resource container
    name str
    The name of the volume.
    performance_class str
    The performance class of the volume. Possible values are documented in Service plans BlockStorage
    project_id str
    STACKIT project ID to which the volume is associated.
    region str
    The resource region. If not defined, the provider region is used.
    server_id str
    The server ID of the server to which the volume is attached to.
    size int
    The size of the volume in GB. It can only be updated to a larger value than the current size. Either size or source must be provided
    source VolumeSourceArgs
    The source of the volume. It can be either a volume, an image, a snapshot or a backup. Either size or source must be provided
    volume_id str
    The volume ID.
    availabilityZone String
    The availability zone of the volume.
    description String
    The description of the volume.
    encrypted Boolean
    Indicates if the volume is encrypted.
    encryptionParameters Property Map
    labels Map<String>
    Labels are key-value string pairs which can be attached to a resource container
    name String
    The name of the volume.
    performanceClass String
    The performance class of the volume. Possible values are documented in Service plans BlockStorage
    projectId String
    STACKIT project ID to which the volume is associated.
    region String
    The resource region. If not defined, the provider region is used.
    serverId String
    The server ID of the server to which the volume is attached to.
    size Number
    The size of the volume in GB. It can only be updated to a larger value than the current size. Either size or source must be provided
    source Property Map
    The source of the volume. It can be either a volume, an image, a snapshot or a backup. Either size or source must be provided
    volumeId String
    The volume ID.

    Supporting Types

    VolumeEncryptionParameters, VolumeEncryptionParametersArgs

    KekKeyId string
    UUID of the key within the STACKIT-KMS to use for the encryption.
    KekKeyVersion int
    Version of the key within the STACKIT-KMS to use for the encryption.
    KekKeyringId string
    UUID of the keyring where the key is located within the STACKTI-KMS.
    ServiceAccount string
    Service-Account linked to the Key within the STACKIT-KMS.
    KeyPayloadBase64 string
    Optional predefined secret, which will be encrypted against the key-encryption-key within the STACKIT-KMS. If not defined, a random secret will be generated by the API and encrypted against the STACKIT-KMS. If a key-payload is provided here, it must be base64 encoded.
    KeyPayloadBase64Wo string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Optional predefined secret, which will be encrypted against the key-encryption-key within the STACKIT-KMS. If not defined, a random secret will be generated by the API and encrypted against the STACKIT-KMS. If a key-payload is provided here, it must be base64 encoded.
    KeyPayloadBase64WoVersion int
    Used together with key_payload_base64_wo to trigger an re-create. Increment this value when an update to key_payload_base64_wo is required.
    KekKeyId string
    UUID of the key within the STACKIT-KMS to use for the encryption.
    KekKeyVersion int
    Version of the key within the STACKIT-KMS to use for the encryption.
    KekKeyringId string
    UUID of the keyring where the key is located within the STACKTI-KMS.
    ServiceAccount string
    Service-Account linked to the Key within the STACKIT-KMS.
    KeyPayloadBase64 string
    Optional predefined secret, which will be encrypted against the key-encryption-key within the STACKIT-KMS. If not defined, a random secret will be generated by the API and encrypted against the STACKIT-KMS. If a key-payload is provided here, it must be base64 encoded.
    KeyPayloadBase64Wo string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Optional predefined secret, which will be encrypted against the key-encryption-key within the STACKIT-KMS. If not defined, a random secret will be generated by the API and encrypted against the STACKIT-KMS. If a key-payload is provided here, it must be base64 encoded.
    KeyPayloadBase64WoVersion int
    Used together with key_payload_base64_wo to trigger an re-create. Increment this value when an update to key_payload_base64_wo is required.
    kekKeyId String
    UUID of the key within the STACKIT-KMS to use for the encryption.
    kekKeyVersion Integer
    Version of the key within the STACKIT-KMS to use for the encryption.
    kekKeyringId String
    UUID of the keyring where the key is located within the STACKTI-KMS.
    serviceAccount String
    Service-Account linked to the Key within the STACKIT-KMS.
    keyPayloadBase64 String
    Optional predefined secret, which will be encrypted against the key-encryption-key within the STACKIT-KMS. If not defined, a random secret will be generated by the API and encrypted against the STACKIT-KMS. If a key-payload is provided here, it must be base64 encoded.
    keyPayloadBase64Wo String
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Optional predefined secret, which will be encrypted against the key-encryption-key within the STACKIT-KMS. If not defined, a random secret will be generated by the API and encrypted against the STACKIT-KMS. If a key-payload is provided here, it must be base64 encoded.
    keyPayloadBase64WoVersion Integer
    Used together with key_payload_base64_wo to trigger an re-create. Increment this value when an update to key_payload_base64_wo is required.
    kekKeyId string
    UUID of the key within the STACKIT-KMS to use for the encryption.
    kekKeyVersion number
    Version of the key within the STACKIT-KMS to use for the encryption.
    kekKeyringId string
    UUID of the keyring where the key is located within the STACKTI-KMS.
    serviceAccount string
    Service-Account linked to the Key within the STACKIT-KMS.
    keyPayloadBase64 string
    Optional predefined secret, which will be encrypted against the key-encryption-key within the STACKIT-KMS. If not defined, a random secret will be generated by the API and encrypted against the STACKIT-KMS. If a key-payload is provided here, it must be base64 encoded.
    keyPayloadBase64Wo string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Optional predefined secret, which will be encrypted against the key-encryption-key within the STACKIT-KMS. If not defined, a random secret will be generated by the API and encrypted against the STACKIT-KMS. If a key-payload is provided here, it must be base64 encoded.
    keyPayloadBase64WoVersion number
    Used together with key_payload_base64_wo to trigger an re-create. Increment this value when an update to key_payload_base64_wo is required.
    kek_key_id str
    UUID of the key within the STACKIT-KMS to use for the encryption.
    kek_key_version int
    Version of the key within the STACKIT-KMS to use for the encryption.
    kek_keyring_id str
    UUID of the keyring where the key is located within the STACKTI-KMS.
    service_account str
    Service-Account linked to the Key within the STACKIT-KMS.
    key_payload_base64 str
    Optional predefined secret, which will be encrypted against the key-encryption-key within the STACKIT-KMS. If not defined, a random secret will be generated by the API and encrypted against the STACKIT-KMS. If a key-payload is provided here, it must be base64 encoded.
    key_payload_base64_wo str
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Optional predefined secret, which will be encrypted against the key-encryption-key within the STACKIT-KMS. If not defined, a random secret will be generated by the API and encrypted against the STACKIT-KMS. If a key-payload is provided here, it must be base64 encoded.
    key_payload_base64_wo_version int
    Used together with key_payload_base64_wo to trigger an re-create. Increment this value when an update to key_payload_base64_wo is required.
    kekKeyId String
    UUID of the key within the STACKIT-KMS to use for the encryption.
    kekKeyVersion Number
    Version of the key within the STACKIT-KMS to use for the encryption.
    kekKeyringId String
    UUID of the keyring where the key is located within the STACKTI-KMS.
    serviceAccount String
    Service-Account linked to the Key within the STACKIT-KMS.
    keyPayloadBase64 String
    Optional predefined secret, which will be encrypted against the key-encryption-key within the STACKIT-KMS. If not defined, a random secret will be generated by the API and encrypted against the STACKIT-KMS. If a key-payload is provided here, it must be base64 encoded.
    keyPayloadBase64Wo String
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. Optional predefined secret, which will be encrypted against the key-encryption-key within the STACKIT-KMS. If not defined, a random secret will be generated by the API and encrypted against the STACKIT-KMS. If a key-payload is provided here, it must be base64 encoded.
    keyPayloadBase64WoVersion Number
    Used together with key_payload_base64_wo to trigger an re-create. Increment this value when an update to key_payload_base64_wo is required.

    VolumeSource, VolumeSourceArgs

    Id string
    The ID of the source, e.g. image ID
    Type string
    The type of the source. Possible values are: volume, image, snapshot, backup.
    Id string
    The ID of the source, e.g. image ID
    Type string
    The type of the source. Possible values are: volume, image, snapshot, backup.
    id String
    The ID of the source, e.g. image ID
    type String
    The type of the source. Possible values are: volume, image, snapshot, backup.
    id string
    The ID of the source, e.g. image ID
    type string
    The type of the source. Possible values are: volume, image, snapshot, backup.
    id str
    The ID of the source, e.g. image ID
    type str
    The type of the source. Possible values are: volume, image, snapshot, backup.
    id String
    The ID of the source, e.g. image ID
    type String
    The type of the source. Possible values are: volume, image, snapshot, backup.

    Package Details

    Repository
    stackit stackitcloud/pulumi-stackit
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the stackit Terraform Provider.
    stackit logo
    Viewing docs for stackit v0.0.4
    published on Friday, Feb 20, 2026 by stackitcloud
      Try Pulumi Cloud free. Your team will thank you.