Skip to content

Commit 90cd2b1

Browse files
Add SchedulingConfig.spot to TPU v2 VM (#13211) (#21716)
[upstream:2d658fd4f5e9817fe1f2fe66af66e6f6fa5eed82] Signed-off-by: Modular Magician <magic-modules@google.com>
1 parent a87e8ef commit 90cd2b1

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.changelog/13211.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
tpuv2: added `spot` field to `google_tpu_v2_vm` resource
3+
```

website/docs/r/tpu_v2_vm.html.markdown

+5
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ resource "google_tpu_v2_vm" "tpu" {
9797
9898
scheduling_config {
9999
preemptible = true
100+
spot = true
100101
}
101102
102103
shielded_instance_config {
@@ -337,6 +338,10 @@ The following arguments are supported:
337338
(Optional)
338339
Whether the node is created under a reservation.
339340

341+
* `spot` -
342+
(Optional)
343+
Optional. Defines whether the node is Spot VM.
344+
340345
<a name="nested_data_disks"></a>The `data_disks` block supports:
341346

342347
* `source_disk` -

0 commit comments

Comments
 (0)