-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
76 lines (64 loc) · 1.74 KB
/
Copy pathvariables.tf
File metadata and controls
76 lines (64 loc) · 1.74 KB
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
variable "region" {
description = "IBM Cloud region for deployment"
type = string
default = "us-south"
}
variable "resource_group_name" {
description = "Resource group ID for the Code Engine project (lowercase letters and numbers only)"
type = string
default = "auto-tagger"
}
variable "project_name" {
description = "Name of the Code Engine project"
type = string
default = "auto-tagger"
}
variable "job_name" {
description = "Name of the serverless job"
type = string
default = "auto-tagger-job"
}
variable "container_image" {
description = "Container image for the job"
type = string
default = "quay.io/cloud-governance/cloud-governance:latest"
}
variable "cron_expression" {
description = "Cron expression for job scheduling (daily)"
type = string
default = "0 0 */1 * *"
}
variable "timezone" {
description = "Timezone for the cron schedule"
type = string
default = "UTC"
}
variable "cpu_limit" {
description = "CPU limit for the job"
type = string
default = "0.125"
}
variable "memory_limit" {
description = "Memory limit for the job"
type = string
default = "250M"
}
variable "retry_limit" {
description = "Number of retry attempts for failed jobs"
type = number
default = 3
}
variable "secret_data" {
description = "Sensitive configuration data for the secret"
type = map(string)
sensitive = true
}
variable "config_data" {
description = "Non-sensitive configuration data for the configmap"
type = map(string)
}
variable "service_id_name" {
description = "Name for the Service ID used by the auto-tagger job"
type = string
default = "auto-tagger"
}