Skip to content

Commit 7caab4b

Browse files
authored
Turn tenancy validation message into English prose (#144)
Adds a period at the end of the error message.
1 parent 84b5e0a commit 7caab4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

variables.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,6 @@ variable "tenancy" {
375375
description = "Tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of 'dedicated' runs on single-tenant hardware. The 'host' tenancy is not supported for the import-instance command. Valid values are 'default', 'dedicated', and 'host'."
376376
validation {
377377
condition = contains(["default", "dedicated", "host"], lower(var.tenancy))
378-
error_message = "Tenancy field can only be one of default, dedicated, host"
378+
error_message = "Tenancy field can only be one of default, dedicated, host."
379379
}
380380
}

0 commit comments

Comments
 (0)