Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

virtualbox_disk Resource #119

Open
VoyTechnology opened this issue Sep 22, 2021 · 3 comments
Open

virtualbox_disk Resource #119

VoyTechnology opened this issue Sep 22, 2021 · 3 comments
Assignees
Labels
in progress Currently in progress proposal Proposed functionality

Comments

@VoyTechnology
Copy link
Member

VoyTechnology commented Sep 22, 2021

The provider at the moment doesn't allow to create additional disks to be attached to the provider. This means that only the images source using the image field can be used, and there is no way to attach your own storage as an additional volume.

Proposal

resource "virtualbox_disk" "disk" {
  name      = "primary_disk"
  format    = "VDI"
  capacity  = "80G"
  flexible  = true
  encrypted = false
  
  # the following will be the computed properties
  # location = "<base_location>/primary_disk.vdi" # Maybe this will be customisable
  # uuid     = "<computed>"
}

The disk would be then attached to a virtualbox_storage_controller and the storage controller would be attached to the vm itself.

@VoyTechnology VoyTechnology self-assigned this Sep 22, 2021
@VoyTechnology VoyTechnology added in progress Currently in progress proposal Proposed functionality labels Sep 22, 2021
@VoyTechnology VoyTechnology added this to the v0.3 (Storage) milestone Sep 23, 2021
@VoyTechnology
Copy link
Member Author

I am wondering about the consistency in the naming. If its attached to virtualbox_storage_controller, should this resource be called virtualbox_storage?

@leodotcloud
Copy link
Contributor

virtualbox_disk would be easier for a beginner, as it's closer to the VirtualBox UI/UX, rather than learning new terminology?

@cdorsman
Copy link

What is the status of this proposal?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in progress Currently in progress proposal Proposed functionality
Projects
None yet
Development

No branches or pull requests

3 participants