From 80d19200a6f5c4eebc21b049f74912637acabe23 Mon Sep 17 00:00:00 2001 From: The Magician Date: Mon, 23 Oct 2023 13:44:55 -0700 Subject: [PATCH] Add accelerator_config to google_tpu_v2_vm (#9332) (#581) [upstream:2601597b36a86aa64e4cdc91c0b746757e45ae73] Signed-off-by: Modular Magician --- tpu_v2_vm_full/main.tf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tpu_v2_vm_full/main.tf b/tpu_v2_vm_full/main.tf index b28b9d68..c1b557e1 100644 --- a/tpu_v2_vm_full/main.tf +++ b/tpu_v2_vm_full/main.tf @@ -14,7 +14,11 @@ resource "google_tpu_v2_vm" "tpu" { description = "Text description of the TPU." runtime_version = "tpu-vm-tf-2.13.0" - accelerator_type = "v2-8" + + accelerator_config { + type = "V2" + topology = "2x2" + } cidr_block = "10.0.0.0/29"