Skip to content

Commit

Permalink
feat: make hot_instance_type support or1 instance type (#61)
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremiah Snapp <[email protected]>
Co-authored-by: Jeremiah Snapp <[email protected]>
  • Loading branch information
jeremiahsnapp and Jeremiah Snapp authored Jan 19, 2024
1 parent 961c12f commit d175d3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ variable "hot_instance_type" {
default = "r6gd.4xlarge.elasticsearch"

validation {
condition = can(regex("^[t3|m3|r3|i3|i2|r6gd|c6g]", var.hot_instance_type))
condition = can(regex("^[t3|m3|r3|i3|i2|r6gd|c6g|or1]", var.hot_instance_type))
error_message = "The EC2 hot_instance_type must provide a SSD or NVMe-based local storage."
}
}
Expand Down

0 comments on commit d175d3b

Please sign in to comment.