diff --git a/docs/resources/template.md b/docs/resources/template.md index 4077d55..03af184 100644 --- a/docs/resources/template.md +++ b/docs/resources/template.md @@ -3,12 +3,15 @@ page_title: "coderd_template Resource - terraform-provider-coderd" subcategory: "" description: |- - A Coder template + A Coder template. + Logs from building template versions are streamed from the provisioner when the TF_LOG environment variable is INFO or higher. --- # coderd_template (Resource) -A Coder template +A Coder template. + +Logs from building template versions are streamed from the provisioner when the `TF_LOG` environment variable is `INFO` or higher. ## Example Usage diff --git a/internal/provider/template_resource.go b/internal/provider/template_resource.go index 3bdde6d..57c60a9 100644 --- a/internal/provider/template_resource.go +++ b/internal/provider/template_resource.go @@ -229,7 +229,8 @@ func (r *TemplateResource) Metadata(ctx context.Context, req resource.MetadataRe func (r *TemplateResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse) { resp.Schema = schema.Schema{ - MarkdownDescription: "A Coder template", + MarkdownDescription: "A Coder template.\n\nLogs from building template versions are streamed from the provisioner " + + "when the `TF_LOG` environment variable is `INFO` or higher.", Attributes: map[string]schema.Attribute{ "id": schema.StringAttribute{