variables.tf
817 Bytes
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
# @label "input Image Name"
# @group "Basic"
variable "image" {
type = string
description = "Docker image name"
}
# @label "Ports include container_port and service ports"
# @group "Basic"
variable "ports" {
type = list(number)
description = "Service ports to expose"
default = []
}
# @label "Deployment Name"
# @group "Advanced"
variable "name" {
type = string
description = "Name of the deployment resource. Auto-generated if empty."
default = ""
}
# @label "Namespace"
# @group "Advanced"
variable "namespace" {
type = string
description = "Namespace to deploy. Auto-generated if empty."
default = "default"
}
# @label "Label"
# @group "Advanced"
variable "labels" {
type = list(string)
description = "labels list"
default = []
}