Skip to content

Commit 7539dc0

Browse files
Support Modifying notebookRuntimeTemplate and also specifying colabImage (#16777) (#1260)
[upstream:20c58d2c05acfdb01a76534b8228c96ff2d4f3ca] Signed-off-by: Modular Magician <magic-modules@google.com>
1 parent ec8798e commit 7539dc0

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

  • colab_runtime_template_full
  • colab_runtime_template_no_name

colab_runtime_template_full/main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,9 @@ resource "google_colab_runtime_template" "runtime-template" {
6565
post_startup_script_url = "gs://colab-enterprise-pss-secure/secure_pss.sh"
6666
post_startup_script_behavior = "RUN_ONCE"
6767
}
68+
69+
colab_image {
70+
release_name = "py312"
71+
}
6872
}
6973
}

colab_runtime_template_no_name/main.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@ resource "google_colab_runtime_template" "runtime-template" {
99
network_spec {
1010
enable_internet_access = true
1111
}
12+
13+
software_config {
14+
}
1215
}

0 commit comments

Comments
 (0)