Skip to content

Commit 91b3e54

Browse files
donovm4tsutsu3
andauthored
feat: add support for 512 as a valid value for instance_memory_in_mb (#231) (#234)
Co-authored-by: tsutsu3 <[email protected]>
1 parent 38dae68 commit 91b3e54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -916,8 +916,8 @@ variable "instance_memory_in_mb" {
916916
description = "The amount of memory to allocate for the instance(s)."
917917

918918
validation {
919-
error_message = "The value must be on of: `2048 or `4096`"
920-
condition = contains([2048, 4096], var.instance_memory_in_mb)
919+
error_message = "The value must be on of: `512`, `2048`, or `4096`"
920+
condition = contains([512, 2048, 4096], var.instance_memory_in_mb)
921921
}
922922
}
923923

0 commit comments

Comments
 (0)