Google Cloud AI Notebooks Environment

This page shows how to write Terraform for Cloud AI Notebooks Environment and write them securely.

google_notebooks_environment (Terraform)

The Environment in Cloud AI Notebooks can be configured in Terraform with the resource name google_notebooks_environment. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Review your Terraform file for Google best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).


Instance creation time

A brief description of this environment.

Display name of this environment for the UI.

A reference to the zone where the machine resides.

The name specified for the Environment instance. Format: projects/[project_id]/locations/[location]/environments/[environmentId]

Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path. Example: "gs://path-to-file/file-name"

  • project optional computed - string
  • container_image list block

    The path to the container image repository. For example:[project_id]/[imageName]

    • tag optional - string

    The tag of the container image. If not specified, this defaults to the latest tag.

  • timeouts single block
  • vm_image list block

    Use this VM image family to find the image; the newest image in this family will be used.

    Use VM image name to find the image.

    The name of the Google Cloud project that this VM image belongs to. Format: projects/[project_id]

Explanation in Terraform Registry

A Cloud AI Platform Notebook environment. To get more information about Environment, see:

Frequently asked questions

What is Google Cloud AI Notebooks Environment?

Google Cloud AI Notebooks Environment is a resource for Cloud AI Notebooks of Google Cloud Platform. Settings can be wrote in Terraform.


Automate config file reviews on your commits

Fix issues in your infrastructure as code with auto-generated patches.