File tree 2 files changed +21
-0
lines changed
templates/terraform/examples
2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,11 @@ examples:
99
99
min_version : ' beta'
100
100
vars :
101
101
name : ' gce-policy'
102
+ - name : ' resource_policy_placement_policy_tpu_topology'
103
+ primary_resource_id : ' baz'
104
+ min_version : ' beta'
105
+ vars :
106
+ name : ' gce-policy'
102
107
parameters :
103
108
- name : ' region'
104
109
type : ResourceRef
@@ -332,6 +337,12 @@ properties:
332
337
- group_placement_policy.0.max_distance
333
338
immutable : true
334
339
min_version : ' beta'
340
+ - name : ' tpuTopology'
341
+ type : String
342
+ description : |
343
+ Specifies the shape of the TPU slice.
344
+ immutable : true
345
+ min_version : ' beta'
335
346
- name : ' instanceSchedulePolicy'
336
347
type : NestedObject
337
348
description : |
Original file line number Diff line number Diff line change
1
+ resource "google_compute_resource_policy" "baz" {
2
+ name = "{{index $.Vars "name"}}"
3
+ region = "us-central1"
4
+ provider = google-beta
5
+ group_placement_policy {
6
+ vm_count = 2
7
+ collocation = "COLLOCATED"
8
+ tpu_topology = "4x4"
9
+ }
10
+ }
You can’t perform that action at this time.
0 commit comments