Skip to content

Latest commit

 

History

History
89 lines (64 loc) · 3.63 KB

File metadata and controls

89 lines (64 loc) · 3.63 KB

Description

This module creates the Vertex AI Notebook, to be used in tutorials.

Primarily used for FSI - MonteCarlo Tutorial: fsi-montecarlo-on-batch-tutorial.

Usage

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

License

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.

Requirements

Name Version
terraform >= 1.0.0
google >= 4.42
random ~> 3.0

Providers

Name Version
google >= 4.42
random ~> 3.0

Modules

No modules.

Resources

Name Type
google_notebooks_instance.instance resource
google_storage_bucket_object.mount_script resource
random_id.resource_name_suffix resource

Inputs

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)
{
"family": "tf-latest-cpu",
"name": null,
"project": "deeplearning-platform-release"
}
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

Outputs

No outputs.