Compare commits

...

2 Commits

Author SHA1 Message Date
Philippe Caseiro 1ab2c571a6 Merge branch 'master' of https://forge.cadoles.com/CadolesKube/terracadoles 2023-11-03 10:58:22 +01:00
Philippe Caseiro 643c8e7547 feat(vmware): adding firmware choice support for vms
Now we have to tell witch boot firmware to use 'efi' of 'bios'
2023-11-03 10:58:16 +01:00
2 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,7 @@ resource "vsphere_virtual_machine" "vm" {
num_cpus = each.value.cpu
memory = each.value.ram
guest_id = each.value.guest_id
firmware = each.value.firmware
dynamic "network_interface" {
for_each = each.value.network_interfaces

View File

@ -5,6 +5,7 @@ variable "vms" {
cpu = number
ram = number
guest_id = string
firmware = string
disks = map(object({
size = string
thin_provisioned = bool