Skip to content

Commit 77629c0

Browse files
committed
docs: deprecate startup_script_timeout & shutdown_script_timeout
1 parent 7458fc0 commit 77629c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/resources/agent.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ resource "kubernetes_pod" "dev" {
7878
- `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))
7979
- `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.
8080
- `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.
81-
- `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.
81+
- `shutdown_script_timeout` (Number, Deprecated) 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.
8282
- `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.
8383
- `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.
84-
- `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.
84+
- `startup_script_timeout` (Number, Deprecated) 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.
8585
- `troubleshooting_url` (String) A URL to a document with instructions for troubleshooting problems with the agent.
8686

8787
### Read-Only

0 commit comments

Comments
 (0)