forked from MatthewJohn/terrareg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample-terrareg-module-metadata.json
44 lines (44 loc) · 1.24 KB
/
example-terrareg-module-metadata.json
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
{
"owner": "matt",
"description": "Upstream module for VPC from AWS",
"variable_template": [
{
"name": "var_a",
"type": "text",
"quote_value": "true"
},
{
"name": "this_or_that",
"type": "select",
"choices": ["var.this", "var.that"],
"allow_custom": true,
"quote_value": false
},
{
"name": "subnets",
"type": "select",
"choices": [
{
"name": "hard_coded",
"value": "[\"a static value\"]"
},
{
"name": "from_common_tf",
"value": "data.terraform_remote_state.networking.blah",
"additional_content": "data \"terraform_remote_state\" \"networking\" {\n\n}"
}
],
"quote_value": false
},
{
"name": "var_d",
"type": "boolean",
"additional_help": "Some text that will provided, as well as the variable description"
},
{
"name": "var_e",
"type": "static",
"value": "var.a_variable_present_in_parent_terraform"
}
]
}