im trying to define the cloud init disk and i evend copied the same file from this rrepo but i receive thi error:
│ Blocks of type "cloudinit" are not expected here.
disks {
scsi {
scsi0 {
We have to specify the disk from our template, else Terraform will think it's not supposed to be there
disk {
storage = "local-lvm"
# The size of the disk should be at least as big as the disk in the template. If it's smaller, the disk will be recreated
size = "20"
}
}
}
ide {
# Some images require a cloud-init disk on the IDE controller, others on the SCSI or SATA controller
ide1 {
cloudinit {
storage = "local-lvm"
}
}
}
im trying to define the cloud init disk and i evend copied the same file from this rrepo but i receive thi error:
│ Blocks of type "cloudinit" are not expected here.
disks { scsi { scsi0 {
We have to specify the disk from our template, else Terraform will think it's not supposed to be there
}