Skip to content

Commit

Permalink
Merge pull request #1 from ovh/remrozk/memory_reservation
Browse files Browse the repository at this point in the history
Add 'memory_reservation' parameter
  • Loading branch information
remrozk authored Oct 9, 2023
2 parents 8dbb0b8 + 886e4a2 commit d565bda
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

<a name="v1.0.1"></a>
## v1.0.1 - 2023-10-05

- Add `memory_reservation` parameter which is equal to the `memory` value.

<a name="v1.0.0"></a>
## v1.0.0 - 2023-09-05

Expand Down
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d565bda

Please sign in to comment.