-
Notifications
You must be signed in to change notification settings - Fork 5
/
variables.tf
66 lines (55 loc) · 1.34 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Base AMI must have a working blender installation, including dependencies
# Must also have ruby >= 2.5 with aws-sdk gems installed
variable "blender_node_image_id" {
type = string
default = "ami-074e75e7f53ac53ea"
}
# Desired BacklogPerInstance for the frame render queue
variable "frame_queue_bpi" {
type = number
default = 2
}
# Desired BacklogPerInstance for project init queue
variable "project_init_queue_bpi" {
type = number
default = 5
}
# Maximum number of render nodes in farm
variable "worker_node_max_count" {
type = number
default = 20
}
variable "instance_types" {
type = list(string)
default = ["c5.9xlarge", "c4.8xlarge", "c5n.9xlarge", "c5.4xlarge"]
}
# Render worker ASG name
variable "worker_asg_name" {
type = string
default = "render_workers"
}
variable "region" {
type = string
default = "us-east-1"
}
variable "availability_zone" {
type = string
default = "us-east-1a"
}
variable "vpc_cidr" {
type = string
default = "10.15.15.0/24"
}
variable "node_key_name" {
type = string
}
variable "render_bucket_name" {
type = string
default = ""
description = "Bucket name must be globally unique. Will be where blend files are uploaded and frames are rendered to"
}
variable "cloudwatch_namespace" {
type = string
description = "Namespace for rendering cloudwatch events"
default = "RenderFarm"
}