diff --git a/docs/resources/resource.md b/docs/resources/resource.md index d4341bb8..9a23969a 100644 --- a/docs/resources/resource.md +++ b/docs/resources/resource.md @@ -73,8 +73,8 @@ resource "twingate_resource" "resource" { - `access` (Block List) Restrict access to certain groups or service accounts (see [below for nested schema](#nestedblock--access)) - `alias` (String) Set a DNS alias address for the Resource. Must be a DNS-valid name string. - `is_authoritative` (Boolean) Determines whether assignments in the access block will override any existing assignments. Default is `true`. If set to `false`, assignments made outside of Terraform will be ignored. -- `is_browser_shortcut_enabled` (Boolean) Controls whether an "Open in Browser" shortcut will be shown for this Resource in the Twingate Client. Default is false. -- `is_visible` (Boolean) Controls whether this Resource will be visible in the main Resource list in the Twingate Client. Default is true. +- `is_browser_shortcut_enabled` (Boolean) Controls whether an "Open in Browser" shortcut will be shown for this Resource in the Twingate Client. Default is `false`. +- `is_visible` (Boolean) Controls whether this Resource will be visible in the main Resource list in the Twingate Client. Default is `true`. - `protocols` (Attributes) 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](#nestedatt--protocols)) - `security_policy_id` (String) The ID of a `twingate_security_policy` to set as this Resource's Security Policy. Default is `Default Policy`. diff --git a/twingate/internal/provider/resource/resource.go b/twingate/internal/provider/resource/resource.go index 39e3df1c..ae03b9a3 100644 --- a/twingate/internal/provider/resource/resource.go +++ b/twingate/internal/provider/resource/resource.go @@ -171,14 +171,14 @@ func (r *twingateResource) Schema(_ context.Context, _ resource.SchemaRequest, r attr.IsVisible: schema.BoolAttribute{ Optional: true, Computed: true, - Description: "Controls whether this Resource will be visible in the main Resource list in the Twingate Client. Default is true.", + Description: "Controls whether this Resource will be visible in the main Resource list in the Twingate Client. Default is `true`.", Default: booldefault.StaticBool(true), PlanModifiers: []planmodifier.Bool{boolplanmodifier.UseStateForUnknown()}, }, attr.IsBrowserShortcutEnabled: schema.BoolAttribute{ Optional: true, Computed: true, - Description: `Controls whether an "Open in Browser" shortcut will be shown for this Resource in the Twingate Client. Default is false.`, + Description: "Controls whether an \"Open in Browser\" shortcut will be shown for this Resource in the Twingate Client. Default is `false`.", Default: booldefault.StaticBool(false), }, attr.ID: schema.StringAttribute{