通常,如何重构内联资源并使用单独的卷资源将其作为单独的资源移出。
例如,有没有办法重构 ablock_device
并将其移到 a 之外openstack_compute_instance_v2
,如下所示?
resource "openstack_compute_instance_v2" "instance_sakani_front_end_x" {
...
block_device {
uuid = ""
volume_size = 30
boot_index = 0
destination_type = "volume"
delete_on_termination = true
}
}