From 80b2f3db5c603c81f51ea3155416e4d2e3f72f43 Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Tue, 24 Mar 2026 21:41:54 +0000 Subject: [PATCH] Support Modifying notebookRuntimeTemplate and also specifying colabImage (#16777) [upstream:20c58d2c05acfdb01a76534b8228c96ff2d4f3ca] Signed-off-by: Modular Magician --- colab_runtime_template_full/main.tf | 4 ++++ colab_runtime_template_no_name/main.tf | 3 +++ 2 files changed, 7 insertions(+) diff --git a/colab_runtime_template_full/main.tf b/colab_runtime_template_full/main.tf index 528460db..3f90c155 100644 --- a/colab_runtime_template_full/main.tf +++ b/colab_runtime_template_full/main.tf @@ -65,5 +65,9 @@ resource "google_colab_runtime_template" "runtime-template" { post_startup_script_url = "gs://colab-enterprise-pss-secure/secure_pss.sh" post_startup_script_behavior = "RUN_ONCE" } + + colab_image { + release_name = "py312" + } } } diff --git a/colab_runtime_template_no_name/main.tf b/colab_runtime_template_no_name/main.tf index 3c1eed03..280e55e9 100644 --- a/colab_runtime_template_no_name/main.tf +++ b/colab_runtime_template_no_name/main.tf @@ -9,4 +9,7 @@ resource "google_colab_runtime_template" "runtime-template" { network_spec { enable_internet_access = true } + + software_config { + } }