Skip to content

Commit

Permalink
updated doc
Browse files Browse the repository at this point in the history
  • Loading branch information
vmanilo committed Nov 20, 2023
1 parent a8d02e8 commit 26e9f25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/resources/resource.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion twingate/internal/provider/resource/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit 26e9f25

Please sign in to comment.