Skip to content

Commit 066dcf9

Browse files
Deprecate Cloud TPU tpu_tensorflow_versions resoruce (#14803) (#23958)
[upstream:52489dcc80ba31695f5c37ca48d8779e00585ea7] Signed-off-by: Modular Magician <[email protected]>
1 parent bfdc1c5 commit 066dcf9

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

.changelog/14803.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
unknown: Deprecate Cloud TPU tpu_tensorflow_versions resoruce

google/services/tpu/data_source_tpu_tensorflow_versions.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ func DataSourceTpuTensorflowVersions() *schema.Resource {
4646
Elem: &schema.Schema{Type: schema.TypeString},
4747
},
4848
},
49+
DeprecationMessage: "`google_tpu_node` is deprecated and will be removed in a future major release. " +
50+
"Use `google_tpu_v2_vm` instead. " +
51+
"For moving from TPU Node to TPU VM architecture, see https://cloud.google.com/tpu/docs/system-architecture-tpu-vm#from-tpu-node-to-tpu-vm.",
4952
}
5053
}
5154

website/docs/d/tpu_tensorflow_versions.html.markdown

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ subcategory: "Cloud TPU"
1717
description: |-
1818
Get available TensorFlow versions.
1919
---
20+
~> **Warning:**
21+
`google_tpu_tensorflow_versions` is deprecated and will be removed in a future major release.
22+
Use `google_tpu_v2_runtime_versions` instead. For moving from TPU Node to TPU VM architecture, see
23+
https://cloud.google.com/tpu/docs/system-architecture-tpu-vm#from-tpu-node-to-tpu-vm.
2024

2125
# google_tpu_tensorflow_versions
2226

0 commit comments

Comments
 (0)