【发布时间】:2018-07-24 01:21:32
【问题描述】:
一般来说,我如何重构内联资源并使用单独的卷资源将其作为单独的资源移到外部。
例如,有没有办法重构 block_device 并将其移到 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
}
}
【问题讨论】:
标签: terraform terraform-provider-openstack