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

[New Resource]: Add cloudavenue_vm #94

Closed
MrRometo opened this issue Feb 20, 2023 · 1 comment
Closed

[New Resource]: Add cloudavenue_vm #94

MrRometo opened this issue Feb 20, 2023 · 1 comment
Assignees

Comments

@MrRometo
Copy link

MrRometo commented Feb 20, 2023

Description

Provides a VMware Cloud Director vapp_vm resource. This can be used to create, modify, and delete vapp_vm.

Requested Resource(s) and/or Data Source(s)

cloudavenue_vm

Potential Terraform Configuration

resource "cloudavenue_vm" "advancedVM" {
  vapp_name     = vcd_vapp.web.name
  name          = "advancedVM_romain"
  computer_name = "advancedVMromain"
  memory        = 2048
  cpus          = 2
  cpu_cores     = 1

  os_type          = "sles10_64Guest"
  hardware_version = "vmx-14"
  # boot_image_id    = data.vcd_catalog_media.myMedia.id

  # memory_priority    = "CUSTOM"
  # memory_shares      = "480"
  # # memory_reservation = "8"
  # memory_limit       = "48"

  # cpu_priority    = "CUSTOM"
  # cpu_shares      = "512"
  # # cpu_reservation = "200"
  # cpu_limit       = "1000"
}

References

https://registry.terraform.io/providers/vmware/vcd/latest/docs/resources/vapp_vm

Would you like to implement a fix?

None

@MrRometo
Copy link
Author

Reservations and limits do not work for creation (cf. # on Potential Terraform Configuration)

@azrod azrod self-assigned this Feb 20, 2023
@azrod azrod changed the title [New Resource]: Add VCD_VAPP_VM cloudavenue_vapp_vm [New Resource]: Add cloudavenue_vapp_vm Feb 22, 2023
@azrod azrod linked a pull request Feb 24, 2023 that will close this issue
@azrod azrod removed a link to a pull request Feb 24, 2023
@gaetanars gaetanars changed the title [New Resource]: Add cloudavenue_vapp_vm [New Resource]: Add cloudavenue_vm Feb 24, 2023
@azrod azrod closed this as completed Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants