This module creates the Vertex AI Notebook, to be used in tutorials.
Primarily used for FSI - MonteCarlo Tutorial: fsi-montecarlo-on-batch-tutorial.
This is a simple usage:
- id: bucket
source: community/modules/file-system/cloud-storage-bucket
settings:
name_prefix: my-bucket
local_mount: /home/jupyter/my-bucket
- id: notebook
source: community/modules/compute/notebook
use: [bucket]
settings:
name_prefix: notebook
machine_type: n1-standard-4
Copyright 2023 Google LLC
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Name | Version |
---|---|
terraform | >= 1.0.0 |
>= 4.42 | |
random | ~> 3.0 |
Name | Version |
---|---|
>= 4.42 | |
random | ~> 3.0 |
No modules.
Name | Type |
---|---|
google_notebooks_instance.instance | resource |
google_storage_bucket_object.mount_script | resource |
random_id.resource_name_suffix | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
deployment_name | Name of the HPC deployment; used as part of name of the notebook. | string |
n/a | yes |
gcs_bucket_path | Bucket name, can be provided from the google-cloud-storage module | string |
null |
no |
instance_image | Instance Image | map(string) |
{ |
no |
labels | Labels to add to the resource Key-value pairs. | map(string) |
n/a | yes |
machine_type | The machine type to employ | string |
n/a | yes |
mount_runner | mount content from the google-cloud-storage module | map(string) |
n/a | yes |
project_id | ID of project in which the notebook will be created. | string |
n/a | yes |
zone | The zone to deploy to | string |
n/a | yes |
No outputs.