-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow idle timeout to be set on Notebook Instances (Vertex AI Workbench) #15654
Comments
This may be managed through the unstructured
|
@rileykarson Is that already doable via metadata? |
Can confirm that the metadata approach described above worked for me:
|
@rileykarson Is there some documentation that'll help the users discover this better? Seems to be a very common question. Otherwise this ticket can be closed. |
Documentation has been added here: https://cloud.google.com/vertex-ai/docs/workbench/instances/idle-shutdown |
Sorry if this is a stupid question but is the correct syntax?
Also, would it be possible to add the information to the resource documentation, considering that this is a new feature, and something that is new at least for those who are migrating from user managed notebooks. |
Here's the syntax:
|
This worked for me as well. Thanks for the tip. |
I haven't seen this mentioned yet, but if a notebook's idle timeout was already set e.g.
In order to disable the idle timeout, you need to set the metadata to an empty string (not null or removing it!) like so:
I noticed that simply removing it would not change the setting of the notebook. |
Community Note
Description
Leaving notebook VMs running when they're not being actively used is a waste of money, so GCP offer an 'idle timeout' configuration option in the Vertex Workbench console. It would be really helpful to be able to configure this in Terraform, to save money.
New or Affected Resource(s)
google_notebooks_instance
Potential Terraform Configuration
b/299312211
The text was updated successfully, but these errors were encountered: