Skip to content

Commit

Permalink
docs: clarify coder_metadata usage
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanndickson committed Aug 14, 2024
1 parent 1d525fa commit 19dd470
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion provider/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ func metadataResource() *schema.Resource {
SchemaVersion: 1,

Description: "Use this resource to attach metadata to a resource. They will be " +
"displayed in the Coder dashboard.",
"displayed in the Coder dashboard alongside the resource. To attach metadata " +
"to an entire workspace, use a `metadata` block within a `coder_agent` resource.",
CreateContext: func(c context.Context, resourceData *schema.ResourceData, i interface{}) diag.Diagnostics {
resourceData.SetId(uuid.NewString())

Expand Down

0 comments on commit 19dd470

Please sign in to comment.