From 6d66b8b616929b401dc6c4deae155fe9a9c0a09b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Rosero=20Vicu=C3=B1a?= Date: Tue, 29 Sep 2020 01:08:24 +0200 Subject: [PATCH] website: Make template file extension more consistent (#25029) Co-authored-by: Judith Malnick --- website/docs/configuration/functions/templatefile.html.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/configuration/functions/templatefile.html.md b/website/docs/configuration/functions/templatefile.html.md index 5dd832105a..d481a2feda 100644 --- a/website/docs/configuration/functions/templatefile.html.md +++ b/website/docs/configuration/functions/templatefile.html.md @@ -51,7 +51,7 @@ to render templates while respecting resource dependencies. ### Lists -Given a template file `backends.tmpl` with the following content: +Given a template file `backends.tpl` with the following content: ``` %{ for addr in ip_addrs ~} @@ -62,7 +62,7 @@ backend ${addr}:${port} The `templatefile` function renders the template: ``` -> templatefile("${path.module}/backends.tmpl", { port = 8080, ip_addrs = ["10.0.0.1", "10.0.0.2"] }) +> templatefile("${path.module}/backends.tpl", { port = 8080, ip_addrs = ["10.0.0.1", "10.0.0.2"] }) backend 10.0.0.1:8080 backend 10.0.0.2:8080