From 26e9f25e5761e30ea9c19df51fdbc78277b4f941 Mon Sep 17 00:00:00 2001 From: Volodymyr Manilo Date: Mon, 20 Nov 2023 20:54:46 +0100 Subject: [PATCH] updated doc --- docs/resources/resource.md | 2 +- twingate/internal/provider/resource/resource.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/resources/resource.md b/docs/resources/resource.md index 665f4372..9e9fbdf0 100644 --- a/docs/resources/resource.md +++ b/docs/resources/resource.md @@ -76,7 +76,7 @@ resource "twingate_resource" "resource" { - `is_browser_shortcut_enabled` (Boolean) Controls whether an "Open in Browser" shortcut will be shown for this Resource in the Twingate Client. - `is_visible` (Boolean) Controls whether this Resource will be visible in the main Resource list in the Twingate Client. - `protocols` (Block List, Max: 1) Restrict access to certain protocols and ports. By default or when this argument is not defined, there is no restriction, and all protocols and ports are allowed. (see [below for nested schema](#nestedblock--protocols)) -- `security_policy_id` (String) The ID of a `twingate_security_policy` to set as this Resource's Security Policy. +- `security_policy_id` (String) The ID of a `twingate_security_policy` to set as this Resource's Security Policy. Default is `Default Policy` ### Read-Only diff --git a/twingate/internal/provider/resource/resource.go b/twingate/internal/provider/resource/resource.go index e7ebea69..147f3e1c 100644 --- a/twingate/internal/provider/resource/resource.go +++ b/twingate/internal/provider/resource/resource.go @@ -142,7 +142,7 @@ func Resource() *schema.Resource { //nolint:funlen attr.SecurityPolicyID: { Type: schema.TypeString, Optional: true, - Description: "The ID of a `twingate_security_policy` to set as this Resource's Security Policy.", + Description: "The ID of a `twingate_security_policy` to set as this Resource's Security Policy. Default is `Default Policy`", DiffSuppressOnRefresh: true, DiffSuppressFunc: defaultPolicyNotChanged, },