-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvariables.tf
More file actions
88 lines (74 loc) · 2.33 KB
/
variables.tf
File metadata and controls
88 lines (74 loc) · 2.33 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
77
78
79
80
81
82
83
84
85
86
87
88
variable "additional_packages" {
default = ""
description = "Space separated list of additional yum packages that may be needed for your ansible workflow"
type = string
}
variable "additional_pip_packages" {
default = ""
description = "Space separated list of additional pip packages that may be needed for your ansible workflow"
type = string
}
variable "ansible_pyenv_path" {
default = "/var/tmp/ansible_pyenv"
description = "Path at which to create the ansible virtual environment"
type = string
}
variable "change_description" {
default = null
description = "description of changes since last version"
type = string
}
variable "component_version" {
description = "Version of the component"
type = string
}
variable "data_uri" {
default = null
description = "Use this to override the component document with one at a particualar URL endpoint"
type = string
}
variable "description" {
default = null
description = "description of component"
type = string
}
variable "kms_key_id" {
default = null
description = "KMS key to use for encryption"
type = string
}
variable "name" {
description = "name to use for component"
type = string
}
# TODO: #2 add validation
variable "platform" {
default = "Linux"
description = "platform of component (Linux or Windows)"
type = string
}
variable "python_version" {
default = "3.12"
description = "Version of python to install via pyenv for use with ansible"
type = string
}
variable "ssh_key_secret_arn" {
default = null
description = "ARN of a secretsmanager secret containing an SSH key (use arn OR name, not both)"
type = string
}
variable "ssh_key_secret_name" {
default = null
description = "Name of a secretsmanager secret containing an SSH key (use arn OR name, not both)"
type = string
}
variable "supported_os_versions" {
default = null
description = "A set of operating system versions supported by the component. If the OS information is available, a prefix match is performed against the base image OS version during image recipe creation."
type = set(string)
}
variable "tags" {
default = {}
description = "map of tags to use for CFN stack and component"
type = map(string)
}