Skip to content

Commit a67b07e

Browse files
author
kiranmane007
committed
corrected typos
1 parent 646916b commit a67b07e

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

modules/vpc-endpoints/variables.tf

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,15 @@ variable "tags" {
3737
variable "timeouts" {
3838
description = "Define maximum timeout for creating, updating, and deleting VPC endpoint resources"
3939
type = object({
40-
create = optional(string, "10m")
41-
update = optional(string, "10m")
42-
delete = optional(string, "10m")
40+
create = optional(string)
41+
update = optional(string)
42+
delete = optional(string)
4343
})
44-
default = {}
44+
default = {
45+
create = "10m"
46+
update = "10m"
47+
delete = "10m"
48+
}
4549
}
4650

4751
################################################################################
@@ -57,12 +61,7 @@ variable "create_security_group" {
5761
variable "security_group_name" {
5862
description = "Name to use on security group created. Conflicts with `security_group_name_prefix`"
5963
type = string
60-
default = null
61-
62-
validation {
63-
condition = var.security_group_name == null || var.security_group_name_prefix == null
64-
error_message = "only one of security_group_name or security_group_name_prefix can be set."
65-
}
64+
default = null
6665
}
6766

6867
variable "security_group_name_prefix" {

0 commit comments

Comments
 (0)