From 2680a83b8e1afd0c8f94fadc1c5337575f8b3bdf Mon Sep 17 00:00:00 2001 From: Marcin Tojek Date: Mon, 22 Sep 2025 13:31:50 +0200 Subject: [PATCH] chore: update workspace resource description --- docs/data-sources/workspace.md | 2 +- provider/workspace.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/data-sources/workspace.md b/docs/data-sources/workspace.md index 4dacdfc3..100e3381 100644 --- a/docs/data-sources/workspace.md +++ b/docs/data-sources/workspace.md @@ -67,7 +67,7 @@ resource "docker_container" "workspace" { ### Read-Only - `access_port` (Number) The access port of the Coder deployment provisioning this workspace. -- `access_url` (String) The access URL of the Coder deployment provisioning this workspace. +- `access_url` (String) The access URL of the Coder deployment provisioning this workspace. This is the base URL without a trailing slash (e.g., "https://coder.example.com" or "https://coder.example.com:8080"). - `id` (String) UUID of the workspace. - `is_prebuild` (Boolean) Similar to `prebuild_count`, but a boolean value instead of a count. This is set to true if the workspace is a currently unassigned prebuild. Once the workspace is assigned, this value will be false. - `is_prebuild_claim` (Boolean) Indicates whether a prebuilt workspace has just been claimed and this is the first `apply` after that occurrence. diff --git a/provider/workspace.go b/provider/workspace.go index 58100a88..334a4d7b 100644 --- a/provider/workspace.go +++ b/provider/workspace.go @@ -98,7 +98,7 @@ func workspaceDataSource() *schema.Resource { "access_url": { Type: schema.TypeString, Computed: true, - Description: "The access URL of the Coder deployment provisioning this workspace.", + Description: `The access URL of the Coder deployment provisioning this workspace. This is the base URL without a trailing slash (e.g., "https://coder.example.com" or "https://coder.example.com:8080").`, }, "access_port": { Type: schema.TypeInt,