-
Notifications
You must be signed in to change notification settings - Fork 10
/
data.tf
31 lines (26 loc) · 781 Bytes
/
data.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
data "cloudinit_config" "cloud_config_web" {
gzip = false
base64_encode = false
part {
content_type = "text/cloud-config"
content = file("${path.module}/cloudinit/base.yml")
}
part {
content_type = "text/cloud-config"
content = file("${path.module}/cloudinit/web.yml")
merge_type = "list(append)+dict(recurse_array)+str()"
}
}
data "cloudinit_config" "cloud_config_accessories" {
gzip = false
base64_encode = false
part {
content_type = "text/cloud-config"
content = file("${path.module}/cloudinit/base.yml")
}
part {
content_type = "text/cloud-config"
content = file("${path.module}/cloudinit/accessories.yml")
merge_type = "list(append)+dict(recurse_array)+str()"
}
}