From d307dff4b844b9194afe75113389ad9df1b73dfa Mon Sep 17 00:00:00 2001 From: McKayla Washburn Date: Fri, 15 Nov 2024 21:04:27 +0000 Subject: [PATCH] tweak descriptions --- docs/resources/provisioner_key.md | 4 ++-- internal/provider/provisioner_key_resource.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/resources/provisioner_key.md b/docs/resources/provisioner_key.md index 06e6ff9..d64b724 100644 --- a/docs/resources/provisioner_key.md +++ b/docs/resources/provisioner_key.md @@ -22,8 +22,8 @@ A provisioner key for a Coder deployment. ### Optional -- `tags` (Map of String) The tags that the provisioner will accept jobs for. +- `tags` (Map of String) The tags that provisioners connected with this key will accept jobs for. ### Read-Only -- `key` (String, Sensitive) A provisionerkey key for Coder. +- `key` (String, Sensitive) The acquired provisioner key diff --git a/internal/provider/provisioner_key_resource.go b/internal/provider/provisioner_key_resource.go index 79a03fd..5904df0 100644 --- a/internal/provider/provisioner_key_resource.go +++ b/internal/provider/provisioner_key_resource.go @@ -59,7 +59,7 @@ func (r *ProvisionerKeyResource) Schema(ctx context.Context, req resource.Schema }, }, "tags": schema.MapAttribute{ - MarkdownDescription: "The tags that the provisioner will accept jobs for.", + MarkdownDescription: "The tags that provisioners connected with this key will accept jobs for.", ElementType: types.StringType, Optional: true, PlanModifiers: []planmodifier.Map{ @@ -67,7 +67,7 @@ func (r *ProvisionerKeyResource) Schema(ctx context.Context, req resource.Schema }, }, "key": schema.StringAttribute{ - MarkdownDescription: "A provisionerkey key for Coder.", + MarkdownDescription: "The acquired provisioner key", Computed: true, Sensitive: true, },