published on Friday, Oct 16, 2026 by stackitcloud
published on Friday, Oct 16, 2026 by stackitcloud
Key Value Store(valkey) instance resource schema. Must have a region specified in the provider configuration.
Example Usage
resource "stackit_valkey_instance" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "example-instance"
version = "x"
plan_name = "stackit-keyvalue-1.2.10-replica"
parameters = {
sgw_acl = "193.148.160.0/19,45.129.40.0/21,45.135.244.0/22"
enable_monitoring = false
down_after_milliseconds = 30000
syslog = ["logs4.your-syslog-endpoint.com:54321"]
}
}
Create ValkeyInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ValkeyInstance(name: string, args: ValkeyInstanceArgs, opts?: CustomResourceOptions);@overload
def ValkeyInstance(resource_name: str,
args: ValkeyInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ValkeyInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
plan_name: Optional[str] = None,
project_id: Optional[str] = None,
version: Optional[str] = None,
name: Optional[str] = None,
parameters: Optional[ValkeyInstanceParametersArgs] = None,
region: Optional[str] = None)func NewValkeyInstance(ctx *Context, name string, args ValkeyInstanceArgs, opts ...ResourceOption) (*ValkeyInstance, error)public ValkeyInstance(string name, ValkeyInstanceArgs args, CustomResourceOptions? opts = null)
public ValkeyInstance(String name, ValkeyInstanceArgs args)
public ValkeyInstance(String name, ValkeyInstanceArgs args, CustomResourceOptions options)
type: stackit:ValkeyInstance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "stackit_valkey_instance" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ValkeyInstanceArgs
- 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 ValkeyInstanceArgs
- 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 ValkeyInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ValkeyInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ValkeyInstanceArgs
- 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 valkeyInstanceResource = new Stackit.ValkeyInstance("valkeyInstanceResource", new()
{
PlanName = "string",
ProjectId = "string",
Version = "string",
Name = "string",
Parameters = new Stackit.Inputs.ValkeyInstanceParametersArgs
{
DownAfterMilliseconds = 0,
EnableMonitoring = false,
FailoverTimeout = 0,
Graphite = "string",
LazyfreeLazyEviction = "string",
LazyfreeLazyExpire = "string",
LuaTimeLimit = 0,
MaxDiskThreshold = 0,
Maxclients = 0,
MaxmemoryPolicy = "string",
MaxmemorySamples = 0,
MetricsFrequency = 0,
MetricsPrefix = "string",
MinReplicasMaxLag = 0,
MinReplicasToWrite = 0,
MonitoringInstanceId = "string",
NotifyKeyspaceEvents = "string",
ReplBacklogSize = "string",
SgwAcl = "string",
Snapshot = "string",
Syslogs = new[]
{
"string",
},
},
Region = "string",
});
example, err := stackit.NewValkeyInstance(ctx, "valkeyInstanceResource", &stackit.ValkeyInstanceArgs{
PlanName: pulumi.String("string"),
ProjectId: pulumi.String("string"),
Version: pulumi.String("string"),
Name: pulumi.String("string"),
Parameters: &stackit.ValkeyInstanceParametersArgs{
DownAfterMilliseconds: pulumi.Int(0),
EnableMonitoring: pulumi.Bool(false),
FailoverTimeout: pulumi.Int(0),
Graphite: pulumi.String("string"),
LazyfreeLazyEviction: pulumi.String("string"),
LazyfreeLazyExpire: pulumi.String("string"),
LuaTimeLimit: pulumi.Int(0),
MaxDiskThreshold: pulumi.Int(0),
Maxclients: pulumi.Int(0),
MaxmemoryPolicy: pulumi.String("string"),
MaxmemorySamples: pulumi.Int(0),
MetricsFrequency: pulumi.Int(0),
MetricsPrefix: pulumi.String("string"),
MinReplicasMaxLag: pulumi.Int(0),
MinReplicasToWrite: pulumi.Int(0),
MonitoringInstanceId: pulumi.String("string"),
NotifyKeyspaceEvents: pulumi.String("string"),
ReplBacklogSize: pulumi.String("string"),
SgwAcl: pulumi.String("string"),
Snapshot: pulumi.String("string"),
Syslogs: pulumi.StringArray{
pulumi.String("string"),
},
},
Region: pulumi.String("string"),
})
resource "stackit_valkey_instance" "valkeyInstanceResource" {
lifecycle {
create_before_destroy = true
}
plan_name = "string"
project_id = "string"
version = "string"
name = "string"
parameters = {
down_after_milliseconds = 0
enable_monitoring = false
failover_timeout = 0
graphite = "string"
lazyfree_lazy_eviction = "string"
lazyfree_lazy_expire = "string"
lua_time_limit = 0
max_disk_threshold = 0
maxclients = 0
maxmemory_policy = "string"
maxmemory_samples = 0
metrics_frequency = 0
metrics_prefix = "string"
min_replicas_max_lag = 0
min_replicas_to_write = 0
monitoring_instance_id = "string"
notify_keyspace_events = "string"
repl_backlog_size = "string"
sgw_acl = "string"
snapshot = "string"
syslogs = ["string"]
}
region = "string"
}
var valkeyInstanceResource = new ValkeyInstance("valkeyInstanceResource", ValkeyInstanceArgs.builder()
.planName("string")
.projectId("string")
.version("string")
.name("string")
.parameters(ValkeyInstanceParametersArgs.builder()
.downAfterMilliseconds(0)
.enableMonitoring(false)
.failoverTimeout(0)
.graphite("string")
.lazyfreeLazyEviction("string")
.lazyfreeLazyExpire("string")
.luaTimeLimit(0)
.maxDiskThreshold(0)
.maxclients(0)
.maxmemoryPolicy("string")
.maxmemorySamples(0)
.metricsFrequency(0)
.metricsPrefix("string")
.minReplicasMaxLag(0)
.minReplicasToWrite(0)
.monitoringInstanceId("string")
.notifyKeyspaceEvents("string")
.replBacklogSize("string")
.sgwAcl("string")
.snapshot("string")
.syslogs("string")
.build())
.region("string")
.build());
valkey_instance_resource = stackit.ValkeyInstance("valkeyInstanceResource",
plan_name="string",
project_id="string",
version="string",
name="string",
parameters={
"down_after_milliseconds": 0,
"enable_monitoring": False,
"failover_timeout": 0,
"graphite": "string",
"lazyfree_lazy_eviction": "string",
"lazyfree_lazy_expire": "string",
"lua_time_limit": 0,
"max_disk_threshold": 0,
"maxclients": 0,
"maxmemory_policy": "string",
"maxmemory_samples": 0,
"metrics_frequency": 0,
"metrics_prefix": "string",
"min_replicas_max_lag": 0,
"min_replicas_to_write": 0,
"monitoring_instance_id": "string",
"notify_keyspace_events": "string",
"repl_backlog_size": "string",
"sgw_acl": "string",
"snapshot": "string",
"syslogs": ["string"],
},
region="string")
const valkeyInstanceResource = new stackit.ValkeyInstance("valkeyInstanceResource", {
planName: "string",
projectId: "string",
version: "string",
name: "string",
parameters: {
downAfterMilliseconds: 0,
enableMonitoring: false,
failoverTimeout: 0,
graphite: "string",
lazyfreeLazyEviction: "string",
lazyfreeLazyExpire: "string",
luaTimeLimit: 0,
maxDiskThreshold: 0,
maxclients: 0,
maxmemoryPolicy: "string",
maxmemorySamples: 0,
metricsFrequency: 0,
metricsPrefix: "string",
minReplicasMaxLag: 0,
minReplicasToWrite: 0,
monitoringInstanceId: "string",
notifyKeyspaceEvents: "string",
replBacklogSize: "string",
sgwAcl: "string",
snapshot: "string",
syslogs: ["string"],
},
region: "string",
});
type: stackit:ValkeyInstance
properties:
name: string
parameters:
downAfterMilliseconds: 0
enableMonitoring: false
failoverTimeout: 0
graphite: string
lazyfreeLazyEviction: string
lazyfreeLazyExpire: string
luaTimeLimit: 0
maxDiskThreshold: 0
maxclients: 0
maxmemoryPolicy: string
maxmemorySamples: 0
metricsFrequency: 0
metricsPrefix: string
minReplicasMaxLag: 0
minReplicasToWrite: 0
monitoringInstanceId: string
notifyKeyspaceEvents: string
replBacklogSize: string
sgwAcl: string
snapshot: string
syslogs:
- string
planName: string
projectId: string
region: string
version: string
ValkeyInstance 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 ValkeyInstance resource accepts the following input properties:
- Plan
Name string - The selected plan name.
- Project
Id string - STACKIT project ID to which the instance is associated.
- Version string
- The service version.
- Name string
- Instance name.
- Parameters
Valkey
Instance Parameters - Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
- Region string
- The resource region. If not defined, the provider region is used.
- Plan
Name string - The selected plan name.
- Project
Id string - STACKIT project ID to which the instance is associated.
- Version string
- The service version.
- Name string
- Instance name.
- Parameters
Valkey
Instance Parameters Args - Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
- Region string
- The resource region. If not defined, the provider region is used.
- plan_
name string - The selected plan name.
- project_
id string - STACKIT project ID to which the instance is associated.
- version string
- The service version.
- name string
- Instance name.
- parameters object
- Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
- region string
- The resource region. If not defined, the provider region is used.
- plan
Name String - The selected plan name.
- project
Id String - STACKIT project ID to which the instance is associated.
- version String
- The service version.
- name String
- Instance name.
- parameters
Valkey
Instance Parameters - Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
- region String
- The resource region. If not defined, the provider region is used.
- plan
Name string - The selected plan name.
- project
Id string - STACKIT project ID to which the instance is associated.
- version string
- The service version.
- name string
- Instance name.
- parameters
Valkey
Instance Parameters - Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
- region string
- The resource region. If not defined, the provider region is used.
- plan_
name str - The selected plan name.
- project_
id str - STACKIT project ID to which the instance is associated.
- version str
- The service version.
- name str
- Instance name.
- parameters
Valkey
Instance Parameters Args - Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
- region str
- The resource region. If not defined, the provider region is used.
- plan
Name String - The selected plan name.
- project
Id String - STACKIT project ID to which the instance is associated.
- version String
- The service version.
- name String
- Instance name.
- parameters Property Map
- Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
- region String
- The resource region. If not defined, the provider region is used.
Outputs
All input properties are implicitly available as output properties. Additionally, the ValkeyInstance resource produces the following output properties:
- Cf
Guid string - Cf
Organization stringGuid - Cf
Space stringGuid - Dashboard
Url string - Id string
- The provider-assigned unique ID for this managed resource.
- Image
Url string - Instance
Id string - ID of the Valkey instance.
- Plan
Id string - The selected plan ID.
- Cf
Guid string - Cf
Organization stringGuid - Cf
Space stringGuid - Dashboard
Url string - Id string
- The provider-assigned unique ID for this managed resource.
- Image
Url string - Instance
Id string - ID of the Valkey instance.
- Plan
Id string - The selected plan ID.
- cf_
guid string - cf_
organization_ stringguid - cf_
space_ stringguid - dashboard_
url string - id string
- The provider-assigned unique ID for this managed resource.
- image_
url string - instance_
id string - ID of the Valkey instance.
- plan_
id string - The selected plan ID.
- cf
Guid String - cf
Organization StringGuid - cf
Space StringGuid - dashboard
Url String - id String
- The provider-assigned unique ID for this managed resource.
- image
Url String - instance
Id String - ID of the Valkey instance.
- plan
Id String - The selected plan ID.
- cf
Guid string - cf
Organization stringGuid - cf
Space stringGuid - dashboard
Url string - id string
- The provider-assigned unique ID for this managed resource.
- image
Url string - instance
Id string - ID of the Valkey instance.
- plan
Id string - The selected plan ID.
- cf_
guid str - cf_
organization_ strguid - cf_
space_ strguid - dashboard_
url str - id str
- The provider-assigned unique ID for this managed resource.
- image_
url str - instance_
id str - ID of the Valkey instance.
- plan_
id str - The selected plan ID.
- cf
Guid String - cf
Organization StringGuid - cf
Space StringGuid - dashboard
Url String - id String
- The provider-assigned unique ID for this managed resource.
- image
Url String - instance
Id String - ID of the Valkey instance.
- plan
Id String - The selected plan ID.
Look up Existing ValkeyInstance Resource
Get an existing ValkeyInstance 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?: ValkeyInstanceState, opts?: CustomResourceOptions): ValkeyInstance@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cf_guid: Optional[str] = None,
cf_organization_guid: Optional[str] = None,
cf_space_guid: Optional[str] = None,
dashboard_url: Optional[str] = None,
image_url: Optional[str] = None,
instance_id: Optional[str] = None,
name: Optional[str] = None,
parameters: Optional[ValkeyInstanceParametersArgs] = None,
plan_id: Optional[str] = None,
plan_name: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
version: Optional[str] = None) -> ValkeyInstancefunc GetValkeyInstance(ctx *Context, name string, id IDInput, state *ValkeyInstanceState, opts ...ResourceOption) (*ValkeyInstance, error)public static ValkeyInstance Get(string name, Input<string> id, ValkeyInstanceState? state, CustomResourceOptions? opts = null)public static ValkeyInstance get(String name, Output<String> id, ValkeyInstanceState state, CustomResourceOptions options)resources: _: type: stackit:ValkeyInstance get: id: ${id}import {
to = stackit_valkey_instance.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.
- Cf
Guid string - Cf
Organization stringGuid - Cf
Space stringGuid - Dashboard
Url string - Image
Url string - Instance
Id string - ID of the Valkey instance.
- Name string
- Instance name.
- Parameters
Valkey
Instance Parameters - Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
- Plan
Id string - The selected plan ID.
- Plan
Name string - The selected plan name.
- Project
Id string - STACKIT project ID to which the instance is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Version string
- The service version.
- Cf
Guid string - Cf
Organization stringGuid - Cf
Space stringGuid - Dashboard
Url string - Image
Url string - Instance
Id string - ID of the Valkey instance.
- Name string
- Instance name.
- Parameters
Valkey
Instance Parameters Args - Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
- Plan
Id string - The selected plan ID.
- Plan
Name string - The selected plan name.
- Project
Id string - STACKIT project ID to which the instance is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Version string
- The service version.
- cf_
guid string - cf_
organization_ stringguid - cf_
space_ stringguid - dashboard_
url string - image_
url string - instance_
id string - ID of the Valkey instance.
- name string
- Instance name.
- parameters object
- Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
- plan_
id string - The selected plan ID.
- plan_
name string - The selected plan name.
- project_
id string - STACKIT project ID to which the instance is associated.
- region string
- The resource region. If not defined, the provider region is used.
- version string
- The service version.
- cf
Guid String - cf
Organization StringGuid - cf
Space StringGuid - dashboard
Url String - image
Url String - instance
Id String - ID of the Valkey instance.
- name String
- Instance name.
- parameters
Valkey
Instance Parameters - Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
- plan
Id String - The selected plan ID.
- plan
Name String - The selected plan name.
- project
Id String - STACKIT project ID to which the instance is associated.
- region String
- The resource region. If not defined, the provider region is used.
- version String
- The service version.
- cf
Guid string - cf
Organization stringGuid - cf
Space stringGuid - dashboard
Url string - image
Url string - instance
Id string - ID of the Valkey instance.
- name string
- Instance name.
- parameters
Valkey
Instance Parameters - Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
- plan
Id string - The selected plan ID.
- plan
Name string - The selected plan name.
- project
Id string - STACKIT project ID to which the instance is associated.
- region string
- The resource region. If not defined, the provider region is used.
- version string
- The service version.
- cf_
guid str - cf_
organization_ strguid - cf_
space_ strguid - dashboard_
url str - image_
url str - instance_
id str - ID of the Valkey instance.
- name str
- Instance name.
- parameters
Valkey
Instance Parameters Args - Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
- plan_
id str - The selected plan ID.
- plan_
name str - The selected plan name.
- project_
id str - STACKIT project ID to which the instance is associated.
- region str
- The resource region. If not defined, the provider region is used.
- version str
- The service version.
- cf
Guid String - cf
Organization StringGuid - cf
Space StringGuid - dashboard
Url String - image
Url String - instance
Id String - ID of the Valkey instance.
- name String
- Instance name.
- parameters Property Map
- Configuration parameters. Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
- plan
Id String - The selected plan ID.
- plan
Name String - The selected plan name.
- project
Id String - STACKIT project ID to which the instance is associated.
- region String
- The resource region. If not defined, the provider region is used.
- version String
- The service version.
Supporting Types
ValkeyInstanceParameters, ValkeyInstanceParametersArgs
- Down
After intMilliseconds - The number of milliseconds after which the instance is considered down.
- Enable
Monitoring bool - Enable monitoring.
- Failover
Timeout int - The failover timeout in milliseconds.
- Graphite string
- Graphite server URL (host and port). If set, monitoring with Graphite will be enabled.
- Lazyfree
Lazy stringEviction - The lazy eviction enablement (yes or no).
- Lazyfree
Lazy stringExpire - The lazy expire enablement (yes or no).
- Lua
Time intLimit - The Lua time limit.
- Max
Disk intThreshold - The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped.
- Maxclients int
- The maximum number of clients.
- Maxmemory
Policy string - The policy to handle the maximum memory (volatile-lru, noeviction, etc).
- Maxmemory
Samples int - The maximum memory samples.
- Metrics
Frequency int - The frequency in seconds at which metrics are emitted.
- Metrics
Prefix string - The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key.
- Min
Replicas intMax Lag - The minimum replicas maximum lag.
- Min
Replicas intTo Write - The amount of connected replicas that are required for the primary to accept write operations. It can be set to 0 to disable it.
- Monitoring
Instance stringId - The ID of the STACKIT monitoring instance.
- Notify
Keyspace stringEvents - The notify keyspace events.
- Repl
Backlog stringSize - The replication backlog size for the cluster.
- Sgw
Acl string - Comma separated list of IP networks in CIDR notation which are allowed to access this instance.
- Snapshot string
- The snapshot configuration.
- Syslogs List<string>
- List of syslog servers to send logs to.
- Down
After intMilliseconds - The number of milliseconds after which the instance is considered down.
- Enable
Monitoring bool - Enable monitoring.
- Failover
Timeout int - The failover timeout in milliseconds.
- Graphite string
- Graphite server URL (host and port). If set, monitoring with Graphite will be enabled.
- Lazyfree
Lazy stringEviction - The lazy eviction enablement (yes or no).
- Lazyfree
Lazy stringExpire - The lazy expire enablement (yes or no).
- Lua
Time intLimit - The Lua time limit.
- Max
Disk intThreshold - The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped.
- Maxclients int
- The maximum number of clients.
- Maxmemory
Policy string - The policy to handle the maximum memory (volatile-lru, noeviction, etc).
- Maxmemory
Samples int - The maximum memory samples.
- Metrics
Frequency int - The frequency in seconds at which metrics are emitted.
- Metrics
Prefix string - The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key.
- Min
Replicas intMax Lag - The minimum replicas maximum lag.
- Min
Replicas intTo Write - The amount of connected replicas that are required for the primary to accept write operations. It can be set to 0 to disable it.
- Monitoring
Instance stringId - The ID of the STACKIT monitoring instance.
- Notify
Keyspace stringEvents - The notify keyspace events.
- Repl
Backlog stringSize - The replication backlog size for the cluster.
- Sgw
Acl string - Comma separated list of IP networks in CIDR notation which are allowed to access this instance.
- Snapshot string
- The snapshot configuration.
- Syslogs []string
- List of syslog servers to send logs to.
- down_
after_ numbermilliseconds - The number of milliseconds after which the instance is considered down.
- enable_
monitoring bool - Enable monitoring.
- failover_
timeout number - The failover timeout in milliseconds.
- graphite string
- Graphite server URL (host and port). If set, monitoring with Graphite will be enabled.
- lazyfree_
lazy_ stringeviction - The lazy eviction enablement (yes or no).
- lazyfree_
lazy_ stringexpire - The lazy expire enablement (yes or no).
- lua_
time_ numberlimit - The Lua time limit.
- max_
disk_ numberthreshold - The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped.
- maxclients number
- The maximum number of clients.
- maxmemory_
policy string - The policy to handle the maximum memory (volatile-lru, noeviction, etc).
- maxmemory_
samples number - The maximum memory samples.
- metrics_
frequency number - The frequency in seconds at which metrics are emitted.
- metrics_
prefix string - The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key.
- min_
replicas_ numbermax_ lag - The minimum replicas maximum lag.
- min_
replicas_ numberto_ write - The amount of connected replicas that are required for the primary to accept write operations. It can be set to 0 to disable it.
- monitoring_
instance_ stringid - The ID of the STACKIT monitoring instance.
- notify_
keyspace_ stringevents - The notify keyspace events.
- repl_
backlog_ stringsize - The replication backlog size for the cluster.
- sgw_
acl string - Comma separated list of IP networks in CIDR notation which are allowed to access this instance.
- snapshot string
- The snapshot configuration.
- syslogs list(string)
- List of syslog servers to send logs to.
- down
After IntegerMilliseconds - The number of milliseconds after which the instance is considered down.
- enable
Monitoring Boolean - Enable monitoring.
- failover
Timeout Integer - The failover timeout in milliseconds.
- graphite String
- Graphite server URL (host and port). If set, monitoring with Graphite will be enabled.
- lazyfree
Lazy StringEviction - The lazy eviction enablement (yes or no).
- lazyfree
Lazy StringExpire - The lazy expire enablement (yes or no).
- lua
Time IntegerLimit - The Lua time limit.
- max
Disk IntegerThreshold - The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped.
- maxclients Integer
- The maximum number of clients.
- maxmemory
Policy String - The policy to handle the maximum memory (volatile-lru, noeviction, etc).
- maxmemory
Samples Integer - The maximum memory samples.
- metrics
Frequency Integer - The frequency in seconds at which metrics are emitted.
- metrics
Prefix String - The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key.
- min
Replicas IntegerMax Lag - The minimum replicas maximum lag.
- min
Replicas IntegerTo Write - The amount of connected replicas that are required for the primary to accept write operations. It can be set to 0 to disable it.
- monitoring
Instance StringId - The ID of the STACKIT monitoring instance.
- notify
Keyspace StringEvents - The notify keyspace events.
- repl
Backlog StringSize - The replication backlog size for the cluster.
- sgw
Acl String - Comma separated list of IP networks in CIDR notation which are allowed to access this instance.
- snapshot String
- The snapshot configuration.
- syslogs List<String>
- List of syslog servers to send logs to.
- down
After numberMilliseconds - The number of milliseconds after which the instance is considered down.
- enable
Monitoring boolean - Enable monitoring.
- failover
Timeout number - The failover timeout in milliseconds.
- graphite string
- Graphite server URL (host and port). If set, monitoring with Graphite will be enabled.
- lazyfree
Lazy stringEviction - The lazy eviction enablement (yes or no).
- lazyfree
Lazy stringExpire - The lazy expire enablement (yes or no).
- lua
Time numberLimit - The Lua time limit.
- max
Disk numberThreshold - The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped.
- maxclients number
- The maximum number of clients.
- maxmemory
Policy string - The policy to handle the maximum memory (volatile-lru, noeviction, etc).
- maxmemory
Samples number - The maximum memory samples.
- metrics
Frequency number - The frequency in seconds at which metrics are emitted.
- metrics
Prefix string - The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key.
- min
Replicas numberMax Lag - The minimum replicas maximum lag.
- min
Replicas numberTo Write - The amount of connected replicas that are required for the primary to accept write operations. It can be set to 0 to disable it.
- monitoring
Instance stringId - The ID of the STACKIT monitoring instance.
- notify
Keyspace stringEvents - The notify keyspace events.
- repl
Backlog stringSize - The replication backlog size for the cluster.
- sgw
Acl string - Comma separated list of IP networks in CIDR notation which are allowed to access this instance.
- snapshot string
- The snapshot configuration.
- syslogs string[]
- List of syslog servers to send logs to.
- down_
after_ intmilliseconds - The number of milliseconds after which the instance is considered down.
- enable_
monitoring bool - Enable monitoring.
- failover_
timeout int - The failover timeout in milliseconds.
- graphite str
- Graphite server URL (host and port). If set, monitoring with Graphite will be enabled.
- lazyfree_
lazy_ streviction - The lazy eviction enablement (yes or no).
- lazyfree_
lazy_ strexpire - The lazy expire enablement (yes or no).
- lua_
time_ intlimit - The Lua time limit.
- max_
disk_ intthreshold - The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped.
- maxclients int
- The maximum number of clients.
- maxmemory_
policy str - The policy to handle the maximum memory (volatile-lru, noeviction, etc).
- maxmemory_
samples int - The maximum memory samples.
- metrics_
frequency int - The frequency in seconds at which metrics are emitted.
- metrics_
prefix str - The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key.
- min_
replicas_ intmax_ lag - The minimum replicas maximum lag.
- min_
replicas_ intto_ write - The amount of connected replicas that are required for the primary to accept write operations. It can be set to 0 to disable it.
- monitoring_
instance_ strid - The ID of the STACKIT monitoring instance.
- notify_
keyspace_ strevents - The notify keyspace events.
- repl_
backlog_ strsize - The replication backlog size for the cluster.
- sgw_
acl str - Comma separated list of IP networks in CIDR notation which are allowed to access this instance.
- snapshot str
- The snapshot configuration.
- syslogs Sequence[str]
- List of syslog servers to send logs to.
- down
After NumberMilliseconds - The number of milliseconds after which the instance is considered down.
- enable
Monitoring Boolean - Enable monitoring.
- failover
Timeout Number - The failover timeout in milliseconds.
- graphite String
- Graphite server URL (host and port). If set, monitoring with Graphite will be enabled.
- lazyfree
Lazy StringEviction - The lazy eviction enablement (yes or no).
- lazyfree
Lazy StringExpire - The lazy expire enablement (yes or no).
- lua
Time NumberLimit - The Lua time limit.
- max
Disk NumberThreshold - The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped.
- maxclients Number
- The maximum number of clients.
- maxmemory
Policy String - The policy to handle the maximum memory (volatile-lru, noeviction, etc).
- maxmemory
Samples Number - The maximum memory samples.
- metrics
Frequency Number - The frequency in seconds at which metrics are emitted.
- metrics
Prefix String - The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key.
- min
Replicas NumberMax Lag - The minimum replicas maximum lag.
- min
Replicas NumberTo Write - The amount of connected replicas that are required for the primary to accept write operations. It can be set to 0 to disable it.
- monitoring
Instance StringId - The ID of the STACKIT monitoring instance.
- notify
Keyspace StringEvents - The notify keyspace events.
- repl
Backlog StringSize - The replication backlog size for the cluster.
- sgw
Acl String - Comma separated list of IP networks in CIDR notation which are allowed to access this instance.
- snapshot String
- The snapshot configuration.
- syslogs List<String>
- List of syslog servers to send logs to.
Import
In Terraform v1.5.0 and later, the + "" + import + “" + block can be used with the + "” + id + “" + attribute, for example:
# Only use the import statement, if you want to import an existing valkey instance
import {
to = stackit_valkey_instance.import-example
id = "${var.project_id},${var.region},${var.valkey_instance_id}"
}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
published on Friday, Oct 16, 2026 by stackitcloud