-
Notifications
You must be signed in to change notification settings - Fork 5
/
variables.tf
96 lines (81 loc) · 2.49 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
85
86
87
88
89
90
91
92
93
94
95
96
variable "ansible_use_venv" {
default = true
description = "Whether or not ansible should be run in a virtual environment"
type = bool
}
variable "ansible_venv_path" {
default = "/var/tmp/ansible_venv/"
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: add validation
variable "platform" {
default = "Linux"
description = "platform of component (Linux or Windows)"
type = string
}
variable "playbook_dir" {
default = null
description = "directory where playbook and requirements are found (if not root of repo)"
type = string
}
variable "playbook_file" {
default = "provision.yml"
description = "path to playbook file, relative to `playbook_dir`"
type = string
}
variable "playbook_repo" {
description = <<EOD
git url for repo where ansible code lives with provisioning playbook and requirements file
can append with `-b BRANCH_NAME` to clone a specific branch
EOD
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)
}