google_notebooks_environment

A Cloud AI Platform Notebook environment.

To get more information about Environment, see:

Open in Cloud Shell

Example Usage - Notebook Environment Basic

resource "google_notebooks_environment" "environment" {
  name = "notebooks-environment"
  location = "us-west1-a"  
  container_image {
    repository = "gcr.io/deeplearning-platform-release/base-cpu"
  } 
}

Argument Reference

The following arguments are supported:


The vm_image block supports:

The container_image block supports:

Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:

Timeouts

This resource provides the following Timeouts configuration options:

Import

Environment can be imported using any of these accepted formats:

In Terraform v1.5.0 and later, use an import block to import Environment using one of the formats above. For example:

import {
  id = "projects/{{project}}/locations/{{location}}/environments/{{name}}"
  to = google_notebooks_environment.default
}

When using the terraform import command, Environment can be imported using one of the formats above. For example:

$ terraform import google_notebooks_environment.default projects/{{project}}/locations/{{location}}/environments/{{name}}
$ terraform import google_notebooks_environment.default {{project}}/{{location}}/{{name}}
$ terraform import google_notebooks_environment.default {{location}}/{{name}}

User Project Overrides

This resource supports User Project Overrides.