2019-10-14 11:02:53 -04:00
|
|
|
// a source represents a reusable setting for a system boot/start.
|
|
|
|
source "virtualbox-iso" "ubuntu-1204" {
|
2019-12-17 05:25:56 -05:00
|
|
|
string = "string"
|
|
|
|
int = 42
|
|
|
|
int64 = 43
|
|
|
|
bool = true
|
|
|
|
trilean = true
|
|
|
|
duration = "10s"
|
2020-04-14 10:05:13 -04:00
|
|
|
map_string_string = {
|
2019-12-17 05:25:56 -05:00
|
|
|
a = "b"
|
|
|
|
c = "d"
|
|
|
|
}
|
|
|
|
slice_string = [
|
|
|
|
"a",
|
|
|
|
"b",
|
|
|
|
"c",
|
|
|
|
]
|
2020-02-03 11:03:28 -05:00
|
|
|
slice_slice_string = [
|
|
|
|
["a","b"],
|
|
|
|
["c","d"]
|
|
|
|
]
|
2019-10-14 11:02:53 -04:00
|
|
|
|
2019-12-17 05:25:56 -05:00
|
|
|
nested {
|
|
|
|
string = "string"
|
|
|
|
int = 42
|
|
|
|
int64 = 43
|
|
|
|
bool = true
|
|
|
|
trilean = true
|
|
|
|
duration = "10s"
|
2020-04-14 10:05:13 -04:00
|
|
|
map_string_string = {
|
2019-12-17 05:25:56 -05:00
|
|
|
a = "b"
|
|
|
|
c = "d"
|
|
|
|
}
|
|
|
|
slice_string = [
|
|
|
|
"a",
|
|
|
|
"b",
|
|
|
|
"c",
|
|
|
|
]
|
2020-02-03 11:03:28 -05:00
|
|
|
slice_slice_string = [
|
|
|
|
["a","b"],
|
|
|
|
["c","d"]
|
|
|
|
]
|
2019-12-17 05:25:56 -05:00
|
|
|
}
|
2019-10-14 11:02:53 -04:00
|
|
|
|
2019-12-17 05:25:56 -05:00
|
|
|
nested_slice {
|
|
|
|
string = "string"
|
|
|
|
int = 42
|
|
|
|
int64 = 43
|
|
|
|
bool = true
|
|
|
|
trilean = true
|
|
|
|
duration = "10s"
|
2020-04-14 10:05:13 -04:00
|
|
|
map_string_string = {
|
2019-12-17 05:25:56 -05:00
|
|
|
a = "b"
|
|
|
|
c = "d"
|
2019-10-14 11:02:53 -04:00
|
|
|
}
|
2019-12-17 05:25:56 -05:00
|
|
|
slice_string = [
|
|
|
|
"a",
|
|
|
|
"b",
|
|
|
|
"c",
|
2019-10-14 11:02:53 -04:00
|
|
|
]
|
2020-02-03 11:03:28 -05:00
|
|
|
slice_slice_string = [
|
|
|
|
["a","b"],
|
|
|
|
["c","d"]
|
|
|
|
]
|
2019-10-14 11:02:53 -04:00
|
|
|
}
|
|
|
|
|
2019-12-17 05:25:56 -05:00
|
|
|
nested_slice {
|
|
|
|
string = "string"
|
|
|
|
int = 42
|
|
|
|
int64 = 43
|
|
|
|
bool = true
|
|
|
|
trilean = true
|
|
|
|
duration = "10s"
|
2020-04-14 10:05:13 -04:00
|
|
|
map_string_string = {
|
2019-12-17 05:25:56 -05:00
|
|
|
a = "b"
|
|
|
|
c = "d"
|
|
|
|
}
|
|
|
|
slice_string = [
|
|
|
|
"a",
|
|
|
|
"b",
|
|
|
|
"c",
|
|
|
|
]
|
2020-02-03 11:03:28 -05:00
|
|
|
slice_slice_string = [
|
|
|
|
["a","b"],
|
|
|
|
["c","d"]
|
|
|
|
]
|
2019-10-14 11:02:53 -04:00
|
|
|
}
|
2019-12-17 05:25:56 -05:00
|
|
|
}
|