From 686f6c9fcc96da794d4b975f36712af7e8fd7644 Mon Sep 17 00:00:00 2001 From: David Bond Date: Mon, 30 Aug 2021 16:25:28 +0100 Subject: [PATCH] Update ACL examples to use jsonencode (#38) This commit modifies the example/documentation for ACLs to use the `jsonencode` function instead of heredocs. Closes #36 Signed-off-by: David Bond --- docs/resources/acl.md | 20 +++++++++----------- examples/main.tf | 20 +++++++++----------- 2 files changed, 18 insertions(+), 22 deletions(-) diff --git a/docs/resources/acl.md b/docs/resources/acl.md index 4271fa9d..18b2512c 100644 --- a/docs/resources/acl.md +++ b/docs/resources/acl.md @@ -14,17 +14,15 @@ for more information. ```terraform resource "tailscale_acl" "sample_acl" { - acl = <