Skip to content

Commit bf903be

Browse files
authored
fix: improve docs for coder_env (#175)
1 parent 471368b commit bf903be

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/resources/env.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
page_title: "coder_env Resource - terraform-provider-coder"
44
subcategory: ""
55
description: |-
6-
Use this resource to set an environment variable in a workspace.
6+
Use this resource to set an environment variable in a workspace. Note that this resource cannot be used to overwrite existing environment variables set on the "coder_agent" resource.
77
---
88

99
# coder_env (Resource)
1010

11-
Use this resource to set an environment variable in a workspace.
11+
Use this resource to set an environment variable in a workspace. Note that this resource cannot be used to overwrite existing environment variables set on the "coder_agent" resource.
1212

1313

1414

provider/env.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212

1313
func envResource() *schema.Resource {
1414
return &schema.Resource{
15-
Description: "Use this resource to set an environment variable in a workspace.",
15+
Description: `Use this resource to set an environment variable in a workspace. Note that this resource cannot be used to overwrite existing environment variables set on the "coder_agent" resource.`,
1616
CreateContext: func(_ context.Context, rd *schema.ResourceData, _ interface{}) diag.Diagnostics {
1717
rd.SetId(uuid.NewString())
1818

0 commit comments

Comments
 (0)