-
-
Notifications
You must be signed in to change notification settings - Fork 169
Expand file tree
/
Copy pathvar.py
More file actions
33 lines (32 loc) · 892 Bytes
/
var.py
File metadata and controls
33 lines (32 loc) · 892 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
from action import Input
var = Input(
name='var',
type='string',
description='''
Comma separated list of $ProductName vars to set.
This has been removed due to the following limitations:
- Only primitive types can be set with `var` - number, bool and string.
- String values may not contain a comma.
- Values set with `var` will be overridden by values contained in `var_file`s
- Does not work with the `remote` backend
You can change from `var` to `variables` by putting each variable on a separate line and ensuring each string value is quoted.
''',
example='''
```yaml
with:
var: instance_type=m5.xlarge,nat_type=instance
```
Becomes:
```yaml
with:
variables: |
instance_type="m5.xlarge"
nat_type="instance"
```
''',
required=False,
deprecation_message='Use the variables input instead.',
available_in=[],
#default='',
show_in_docs=False
)