mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
Improved terraform syntax
This commit is contained in:
@@ -112,15 +112,21 @@ merge_type: 'list(append)+dict(recurse_array)+str()'
|
||||
base64_encode = true
|
||||
|
||||
part {
|
||||
content = file("files/first.yaml")
|
||||
content = file("${path.module}/files/cloud-init/first.yaml")
|
||||
content_type = "text/cloud-config"
|
||||
filename = "first.yaml"
|
||||
}
|
||||
…
|
||||
part {
|
||||
content = file("files/n-th.yaml")
|
||||
content = templatefile(
|
||||
"${path.module}/templates/cloud-init/n-th.yaml.tftpl",
|
||||
{
|
||||
key = value
|
||||
}
|
||||
)
|
||||
content_type = "text/cloud-config"
|
||||
filename = "n-th.yaml"
|
||||
merge_type = "dict(recurse_array,no_replace)+list(append)"
|
||||
filename = "n-th.yaml"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user