You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/cla.yaml
+1-1
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ jobs:
11
11
steps:
12
12
- name: "CLA Assistant"
13
13
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
14
-
uses: contributor-assistant/github-action@v2.2.1
14
+
uses: contributor-assistant/github-action@v2.3.0
15
15
env:
16
16
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17
17
# the below token should have repo scope and must be manually added by you in the repository's secret
Copy file name to clipboardExpand all lines: docs/data-sources/parameter.md
+9-3
Original file line number
Diff line number
Diff line change
@@ -17,17 +17,18 @@ Use this data source to configure editable options for workspaces.
17
17
18
18
### Required
19
19
20
-
-`name` (String) The name of the parameter as it will appear in the interface. If this is changed, developers will be re-prompted for a new value.
20
+
-`name` (String) The name of the parameter. If this is changed, developers will be re-prompted for a new value.
21
21
22
22
### Optional
23
23
24
24
-`default` (String) A default value for the parameter.
25
25
-`description` (String) Describe what this parameter does.
26
+
-`display_name` (String) The displayed name of the parameter as it will appear in the interface.
27
+
-`ephemeral` (Boolean) The value of an ephemeral parameter will not be preserved between consecutive workspace builds.
26
28
-`icon` (String) A URL to an icon that will display in the dashboard. View built-in icons here: https://github.com/coder/coder/tree/main/site/static/icon. Use a built-in icon with `data.coder_workspace.me.access_url + "/icon/<path>"`.
27
-
-`legacy_variable` (String) Reference to the Terraform variable. Coder will use it to lookup the default value.
28
-
-`legacy_variable_name` (String) Name of the legacy Terraform variable. Coder will use it to lookup the variable value.
29
29
-`mutable` (Boolean) Whether this value can be changed after workspace creation. This can be destructive for values like region, so use with caution!
30
30
-`option` (Block List, Max: 64) Each "option" block defines a value for a user to select from. (see [below for nested schema](#nestedblock--option))
31
+
-`order` (Number) The order determines the position of a template parameter in the UI/CLI presentation. The lowest order is shown first and parameters with equal order are sorted by name (ascending order).
31
32
-`type` (String) The type of this parameter. Must be one of: "number", "string", "bool", or "list(string)".
32
33
-`validation` (Block List, Max: 1) Validate the input of a parameter. (see [below for nested schema](#nestedblock--validation))
33
34
@@ -61,3 +62,8 @@ Optional:
61
62
-`min` (Number) The minimum of a number parameter.
62
63
-`monotonic` (String) Number monotonicity, either increasing or decreasing.
63
64
-`regex` (String) A regex for the input parameter to match against.
65
+
66
+
Read-Only:
67
+
68
+
-`max_disabled` (Boolean) Helper field to check if max is present
69
+
-`min_disabled` (Boolean) Helper field to check if min is present
-`owner_email` (String) Email address of the workspace owner.
35
35
-`owner_id` (String) UUID of the workspace owner.
36
36
-`owner_oidc_access_token` (String) A valid OpenID Connect access token of the workspace owner. This is only available if the workspace owner authenticated with OpenID Connect. If a valid token cannot be obtained, this value will be an empty string.
37
+
-`owner_session_token` (String) Session token for authenticating with a Coder deployment. It is regenerated everytime a workspace is started.
37
38
-`start_count` (Number) A computed count based on "transition" state. If "start", count will equal 1.
38
39
-`transition` (String) Either "start" or "stop". Use this to start/stop resources with "count".
-`feature_use_managed_variables` (Boolean) Feature: use managed Terraform variables. If disabled, Terraform variables will be included in legacy Parameter Schema.
65
+
-`feature_use_managed_variables` (Boolean, Deprecated) Feature: use managed Terraform variables. The feature flag is not used anymore as Terraform variables are now exclusively utilized for template-wide variables.
-`auth` (String) The authentication type the agent will use. Must be one of: "token", "google-instance-identity", "aws-instance-identity", "azure-instance-identity".
50
56
-`connection_timeout` (Number) Time in seconds until the agent is marked as timed out when a connection with the server cannot be established. A value of zero never marks the agent as timed out.
51
57
-`dir` (String) The starting directory when a user creates a shell session. Defaults to $HOME.
58
+
-`display_apps` (Block Set, Max: 1) The list of built-in apps to display in the agent bar. (see [below for nested schema](#nestedblock--display_apps))
52
59
-`env` (Map of String) A mapping of environment variables to set inside the workspace.
53
-
-`login_before_ready` (Boolean) This option defines whether or not the user can (by default) login to the workspace before it is ready. Ready means that e.g. the startup_script is done and has exited. When enabled, users may see an incomplete workspace when logging in.
60
+
-`login_before_ready` (Boolean, Deprecated) This option defines whether or not the user can (by default) login to the workspace before it is ready. Ready means that e.g. the startup_script is done and has exited. When enabled, users may see an incomplete workspace when logging in.
61
+
-`metadata` (Block List) Each "metadata" block defines a single item consisting of a key/value pair. This feature is in alpha and may break in future releases. (see [below for nested schema](#nestedblock--metadata))
54
62
-`motd_file` (String) The path to a file within the workspace containing a message to display to users when they login via SSH. A typical value would be /etc/motd.
55
63
-`shutdown_script` (String) A script to run before the agent is stopped. The script should exit when it is done to signal that the workspace can be stopped.
56
64
-`shutdown_script_timeout` (Number) Time in seconds until the agent lifecycle status is marked as timed out during shutdown, this happens when the shutdown script has not completed (exited) in the given time.
57
65
-`startup_script` (String) A script to run after the agent starts. The script should exit when it is done to signal that the agent is ready.
66
+
-`startup_script_behavior` (String) This option sets the behavior of the `startup_script`. When set to "blocking", the startup_script must exit before the workspace is ready. When set to "non-blocking", the startup_script may run in the background and the workspace will be ready immediately. Default is "non-blocking", although "blocking" is recommended.
58
67
-`startup_script_timeout` (Number) Time in seconds until the agent lifecycle status is marked as timed out during start, this happens when the startup script has not completed (exited) in the given time.
59
68
-`troubleshooting_url` (String) A URL to a document with instructions for troubleshooting problems with the agent.
-`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.
77
77
-`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).
78
78
-`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.
79
-
-`url` (String) A URL to be proxied to from inside the workspace. Either "command" or "url" may be specified, but not both.
79
+
-`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.
0 commit comments