Skip to content

Commit 163bba0

Browse files
committed
Rename allow_login_before_ready to delay_login_until_ready
1 parent add1d31 commit 163bba0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

provider/agent.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func agentResource() *schema.Resource {
7777
},
7878
"startup_script": {
7979
ForceNew: true,
80-
Description: "A script to run after the agent starts. The script should exit when it is done to signal that the agent is ready to accept connections.",
80+
Description: "A script to run after the agent starts. The script should exit when it is done to signal that the agent is ready.",
8181
Type: schema.TypeString,
8282
Optional: true,
8383
},
@@ -122,12 +122,12 @@ func agentResource() *schema.Resource {
122122
Optional: true,
123123
Description: "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.",
124124
},
125-
"allow_login_before_ready": {
125+
"delay_login_until_ready": {
126126
Type: schema.TypeBool,
127-
Default: true, // TODO(mafredri): Change default to false in a future version.
127+
Default: false, // Change default value to true in a future release.
128128
ForceNew: true,
129129
Optional: true,
130-
Description: "Allow users to login to the workspace before the agent is ready. Note that, when enabled, the agent could still be executing the startup script and the workspace in an incomplete state when logging in.",
130+
Description: "This option defines whether or not user logins to the workspace agent are delayed until the agent is ready. When disabled, users may see an incomplete workspace upon logging in.",
131131
},
132132
},
133133
}

0 commit comments

Comments
 (0)