Open sharovmerk opened 2 months ago
output from plan:
# module.seed.module.clickhouse["c01"].yandex_mdb_clickhouse_cluster.this will be updated in-place
~ resource "yandex_mdb_clickhouse_cluster" "this" {
id = "XXX"
name = "XXX"
# (16 unchanged attributes hidden)
- shard {
- name = "shard1" -> null
- weight = 100 -> null
- resources {
- disk_size = 90 -> null
- disk_type_id = "network-ssd" -> null
- resource_preset_id = "s2.small" -> null
}
}
+ shard {
+ name = "master01"
+ weight = 100
+ resources {
+ disk_size = 90
+ disk_type_id = "network-ssd"
+ resource_preset_id = "s2.small"
}
}
~ zookeeper {
~ resources {
~ disk_size = 10 -> 0
# (2 unchanged attributes hidden)
}
}
# (9 unchanged blocks hidden)
}
Воспроизводится даже без переименования шардов:
~ resource "yandex_mdb_clickhouse_cluster" "this" {
id = "XXX"
name = "XXX"
# (16 unchanged attributes hidden)
~ zookeeper {
~ resources {
~ disk_size = 10 -> 0
# (2 unchanged attributes hidden)
}
}
# (10 unchanged blocks hidden)
}
Reproduce:
provider version 1.129.0