ionoscloud_inmemorydb_cluster_v2
Creates and manages an IONOS CLOUD InMemoryDB V2 Cluster.
Example Usage
resource "ionoscloud_datacenter" "example" {
name = "example"
location = "de/txl"
}
resource "ionoscloud_lan" "example" {
datacenter_id = ionoscloud_datacenter.example.id
public = false
name = "example"
}
resource "ionoscloud_inmemorydb_cluster_v2" "example" {
location = "de/txl"
name = "my-inmemorydb-cluster"
description = "InMemoryDB cluster"
version = "9.0"
persistence_mode = "RDB"
eviction_policy = "allkeys-lru"
logs_enabled = true
metrics_enabled = true
instances = {
count = 1
cores = 1
ram = 4
}
connections = {
datacenter_id = ionoscloud_datacenter.example.id
lan_id = ionoscloud_lan.example.id
primary_instance_address = "192.168.2.101/24"
}
snapshot = {
location = "eu-central-3"
retention_days = 7
snapshot_hours = [0, 6, 12, 18]
}
maintenance_window = {
time = "09:00:00"
day_of_the_week = "Sunday"
}
credentials = {
username = "cacheuser"
password = {
algorithm = "SHA-256"
hash = "5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8"
}
}
}Argument Reference
Attributes Reference
Import
Last updated
Was this helpful?