Migrating InMemoryDB from ionoscloud_dbaas_inmemorydb_replica_set to ionoscloud_inmemorydb_cluster_v
How to migrate existing InMemoryDB replica sets from the legacy ionoscloud_dbaas_inmemorydb_replica_set resource to ionoscloud_inmemorydb_cluster_v2.
Prerequisites
Recommended approach: query-generate + removed
1. Discover clusters and generate v2 configuration
list "ionoscloud_inmemorydb_cluster_v2" "all" {
provider = ionoscloud
include_resource = true
# Optional: scope discovery to a single region.
# config {
# filters = [
# { field_name = "location", field_value = "de/txl" },
# ]
# }
}2. Drop the legacy resources from state
3. Fill in the values that cannot be generated
Attribute
Why it's missing
What to do
4. Apply
Manual alternative (no config generation)
Rollback
PreviousguidesNextMigrating MariaDB clusters from ionoscloud_mariadb_cluster to ionoscloud_mariadb_cluster_v2
Last updated
Was this helpful?