mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-05-26 04:01:50 -04:00
13 lines
284 B
Smarty
13 lines
284 B
Smarty
{{$index := .Index}}
|
|
host "config{{$index}}.example.com" {
|
|
services = {
|
|
"modules.v{{$index}}" = "https://config{{$index}}.example.com/",
|
|
}
|
|
}
|
|
{{range .Subdomains}}
|
|
host "{{.}}.example.com" {
|
|
services = {
|
|
"modules.v{{$index}}" = "https://{{.}}.example.com/",
|
|
}
|
|
}
|
|
{{end}} |