Skip to content

Commit e5a1ba7

Browse files
authored
Merge pull request #17 from cruxstack/dev
fix: set the correct types for allowed_cirds
2 parents 4a57e96 + 2dcbfeb commit e5a1ba7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

variables.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@ variable "instance_config" {
2929
auth = optional(object({
3030
count = optional(number, 1)
3131
sizes = optional(list(string), ["t3.micro", "t3a.micro"])
32-
allowed_cidrs = optional(string, ["0.0.0.0/0"])
32+
allowed_cidrs = optional(list(string), ["0.0.0.0/0"])
3333
}), {})
3434
node = optional(object({
3535
count = optional(number, 1)
3636
sizes = optional(list(string), ["t3.micro", "t3a.micro"])
37-
allowed_cidrs = optional(string, ["0.0.0.0/0"])
37+
allowed_cidrs = optional(list(string), ["0.0.0.0/0"])
3838
}), {})
3939
proxy = optional(object({
4040
count = optional(number, 1)
4141
sizes = optional(list(string), ["t3.micro", "t3a.micro"])
42-
allowed_cidrs = optional(string, ["0.0.0.0/0"])
42+
allowed_cidrs = optional(list(string), ["0.0.0.0/0"])
4343
}), {})
4444
})
4545
description = "Configuration for the instances. Each type (`auth`, `node`, `proxy`) contains an object with `count`, `sizes`, and `allowed_cidrs`."

0 commit comments

Comments
 (0)