Skip to content

Commit 52489dc

Browse files
Deprecate Cloud TPU tpu_tensorflow_versions resoruce (GoogleCloudPlatform#14803)
Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>
1 parent a1d8ac9 commit 52489dc

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

mmv1/third_party/terraform/services/tpu/data_source_tpu_tensorflow_versions.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ func DataSourceTpuTensorflowVersions() *schema.Resource {
3030
Elem: &schema.Schema{Type: schema.TypeString},
3131
},
3232
},
33+
DeprecationMessage: "`google_tpu_node` is deprecated and will be removed in a future major release. " +
34+
"Use `google_tpu_v2_vm` instead. " +
35+
"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.",
3336
}
3437
}
3538

mmv1/third_party/terraform/website/docs/d/tpu_tensorflow_versions.html.markdown

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

711
# google_tpu_tensorflow_versions
812

0 commit comments

Comments
 (0)