mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-25 23:49:37 -05:00
Update Terraform libvirt to v0.7.0 (#304)
* Update Terraform libvirt to v0.7.0 * Use disk block * Remove nulled disk options Signed-off-by: Daniel Weiße <dw@edgeless.systems> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
parent
0c0a83550d
commit
c85dc674ba
@ -2,7 +2,7 @@ terraform {
|
||||
required_providers {
|
||||
libvirt = {
|
||||
source = "dmacvicar/libvirt"
|
||||
version = "0.6.14"
|
||||
version = "0.7.0"
|
||||
}
|
||||
docker = {
|
||||
source = "kreuzwerker/docker"
|
||||
|
@ -2,7 +2,7 @@ terraform {
|
||||
required_providers {
|
||||
libvirt = {
|
||||
source = "dmacvicar/libvirt"
|
||||
version = "0.6.14"
|
||||
version = "0.7.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -22,26 +22,13 @@ resource "libvirt_domain" "instance_group" {
|
||||
backend_type = "emulator"
|
||||
backend_version = "2.0"
|
||||
}
|
||||
disk = [
|
||||
{
|
||||
disk {
|
||||
volume_id = element(libvirt_volume.boot_volume.*.id, count.index)
|
||||
scsi : true,
|
||||
// fix for https://github.com/dmacvicar/terraform-provider-libvirt/issues/728
|
||||
block_device : null,
|
||||
file : null,
|
||||
url : null,
|
||||
wwn : null
|
||||
},
|
||||
{
|
||||
scsi = true
|
||||
}
|
||||
disk {
|
||||
volume_id = element(libvirt_volume.state_volume.*.id, count.index)
|
||||
// fix for https://github.com/dmacvicar/terraform-provider-libvirt/issues/728
|
||||
block_device : null,
|
||||
file : null,
|
||||
scsi : null,
|
||||
url : null,
|
||||
wwn : null
|
||||
},
|
||||
]
|
||||
}
|
||||
network_interface {
|
||||
network_id = var.network_id
|
||||
hostname = "${var.role}-${count.index}"
|
||||
|
Loading…
Reference in New Issue
Block a user