Skip to content

UCL-ARC/ovirt-terraform-vm-disk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ovirt-terraform-vm-disk

Create and attach disks to oVirt VMs with Terraform.

Usage

module "testdisk" {
  source            = "github.com/UCL-ARC/ovirt-terraform-vm-disk//?ref=v0.1.0"
  
  # Human-readable alias for the disk.
  name              = "testvm_disk02"
  # Disk size in GB.
  size              = "5"
  # ID of the target storage domain.
  storage_domain_id = "<MY_STORAGE_DOMAIN_ID>"
  # ID of the VM to attach the disk to.
  vm_id             = module.myvm[0].id
}

This module can be used to attach multiple disks to a VM if desired.

References

About

Create and attach disks to oVirt VMs with Terraform

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages