-
Notifications
You must be signed in to change notification settings - Fork 29
/
variables.tf
84 lines (70 loc) · 2.02 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
variable "agent_cpu" {
description = "CPU units to allocate to the agent"
default = 1024
type = number
}
variable "agent_desired_count" {
description = "Number of agents to run"
default = 1
type = number
}
variable "agent_extra_pip_packages" {
description = "Packages to install on the agent assuming image is based on prefecthq/prefect"
default = "prefect-aws s3fs"
type = string
}
variable "agent_image" {
description = "Container image for the agent. This could be the name of an image in a public repo or an ECR ARN"
default = "prefecthq/prefect:2-python3.10"
type = string
}
variable "agent_log_retention_in_days" {
description = "Number of days to retain agent logs for"
default = 30
type = number
}
variable "agent_memory" {
description = "Memory units to allocate to the agent"
default = 2048
type = number
}
variable "agent_queue_name" {
description = "Prefect queue that the agent should listen to"
default = "default"
type = string
}
variable "agent_subnets" {
description = "Subnets to place the agent in"
type = list(string)
}
variable "agent_task_role_arn" {
description = "Optional task role ARN to pass to the agent. If not defined, a task role will be created"
default = null
type = string
}
variable "name" {
description = "Unique name for this agent deployment"
type = string
}
variable "prefect_account_id" {
description = "Prefect cloud account ID"
type = string
}
variable "prefect_workspace_id" {
description = "Prefect cloud workspace ID"
type = string
}
variable "prefect_api_key" {
description = "Prefect cloud API key"
type = string
sensitive = true
}
variable "vpc_id" {
description = "VPC ID in which to create all resources"
type = string
}
variable "secrets_manager_recovery_in_days" {
type = number
default = 30
description = "Deletion delay for AWS Secrets Manager upon resource destruction"
}