Skip to content

Commit c18c9f1

Browse files
authored
chore: update description for coder_app url (#196)
1 parent 7815596 commit c18c9f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/resources/app.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ resource "coder_app" "intellij" {
7777
- `relative_path` (Boolean, Deprecated) Specifies whether the URL will be accessed via a relative path or wildcard. Use if wildcard routing is unavailable. Defaults to true.
7878
- `share` (String) Determines the "level" which the application is shared at. Valid levels are "owner" (default), "authenticated" and "public". Level "owner" disables sharing on the app, so only the workspace owner can access it. Level "authenticated" shares the app with all authenticated users. Level "public" shares it with any user, including unauthenticated users. Permitted application sharing levels can be configured site-wide via a flag on `coder server` (Enterprise only).
7979
- `subdomain` (Boolean) Determines whether the app will be accessed via it's own subdomain or whether it will be accessed via a path on Coder. If wildcards have not been setup by the administrator then apps with "subdomain" set to true will not be accessible. Defaults to false.
80-
- `url` (String) A URL to be proxied to from inside the workspace. This should be of the form "http://localhost:PORT[/SUBPATH]". Either "command" or "url" may be specified, but not both.
80+
- `url` (String) An external url if "external=true" or a URL to be proxied to from inside the workspace. This should be of the form "http://localhost:PORT[/SUBPATH]". Either "command" or "url" may be specified, but not both.
8181

8282
### Read-Only
8383

provider/app.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ func appResource() *schema.Resource {
150150
},
151151
"url": {
152152
Type: schema.TypeString,
153-
Description: "A URL to be proxied to from inside the workspace. " +
153+
Description: "An external url if \"external=true\" or a URL to be proxied to from inside the workspace. " +
154154
"This should be of the form \"http://localhost:PORT[/SUBPATH]\". " +
155155
"Either \"command\" or \"url\" may be specified, but not both.",
156156
ForceNew: true,

0 commit comments

Comments
 (0)