From 886e4a206dc9cc6e76c2f84717b6823f9c2ea433 Mon Sep 17 00:00:00 2001 From: "remi.mrozek" Date: Mon, 9 Oct 2023 13:26:29 +0000 Subject: [PATCH] Add 'memory_reservation' parameter --- CHANGELOG.md | 5 +++++ main.tf | 1 + 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 19fec64..3bc5e8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog + +## v1.0.1 - 2023-10-05 + +- Add `memory_reservation` parameter which is equal to the `memory` value. + ## v1.0.0 - 2023-09-05 diff --git a/main.tf b/main.tf index df5047a..a0e97fb 100644 --- a/main.tf +++ b/main.tf @@ -6,6 +6,7 @@ resource "vsphere_virtual_machine" "sap_hana_database" { num_cpus = each.value.model == "" ? each.value.cpus : lookup(local.sap_hana_database_model_cpus, each.value.model) num_cores_per_socket = each.value.cpus_per_socket memory = each.value.model == "" ? each.value.memory : lookup(local.sap_hana_database_model_memory, each.value.model) + memory_reservation = each.value.model == "" ? each.value.memory : lookup(local.sap_hana_database_model_memory, each.value.model) folder = var.sap_hana_database_folder guest_id = each.value.guest_id hardware_version = var.sap_hana_database_hardware_version