tidb-cloud: Terraform import procedures need Terraform v1.5.0 or later, but the prerequisite says >=1.0

Đang mở Phù hợp với người mới
#24,582 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@yahonda đang làm issue này rồi.

Từ ngày 11/11/2026.

  • #24674 của @yahonda — đang mở

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
77/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
terraform
Lĩnh vực
documentation

Hướng nghiên cứu

Đọc tidb-cloud/terraform-get-tidbcloud-provider.md và các hướng dẫn về tài nguyên Terraform được liệt kê trên master và release-8.5, tập trung vào quy trình import và các liên kết về điều kiện tiên quyết. Ghi rõ rằng các khối import và terraform plan -generate-config-out yêu cầu Terraform v1.5.0 trở lên, chọn dùng một ghi chú chung hoặc cách diễn đạt riêng trong từng hướng dẫn; trước khi thay đổi yêu cầu chung của provider, hãy kiểm tra xem yêu cầu đó có áp dụng cho các quy trình làm việc khác hay không. Hoàn tất khi người dùng làm theo từng quy trình import có thể thấy điều kiện tiên quyết về phiên bản chính xác.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Error Report

  1. What is the URL/path of the document related to this issue?

tidb-cloud/terraform-get-tidbcloud-provider.md and the Terraform resource guides that include an import procedure (on master and release-8.5):

  • tidb-cloud/terraform-migrate-cluster-resource.md
  • tidb-cloud/terraform-use-dedicated-cluster-resource.md
  • tidb-cloud/terraform-use-dedicated-network-container-resource.md
  • tidb-cloud/terraform-use-dedicated-private-endpoint-connection-resource.md
  • tidb-cloud/terraform-use-dedicated-vpc-peering-resource.md
  • tidb-cloud/terraform-use-serverless-branch-resource.md
  • tidb-cloud/terraform-use-serverless-cluster-resource-manage-essential.md
  • tidb-cloud/terraform-use-serverless-cluster-resource.md
  • tidb-cloud/terraform-use-serverless-export-resource.md
  • tidb-cloud/terraform-use-sql-user-resource.md

terraform-get-tidbcloud-provider.md says "All you need to do is install Terraform (>=1.0)", and the resource guides link to it as their prerequisite. However, the import procedures in the guides above use an import block and terraform plan -generate-config-out=generated.tf. Both were introduced in Terraform v1.5.0, so users with Terraform 1.0 to 1.4 meet the documented prerequisite but cannot run the import steps.

  1. How would you like to improve it?

Document that the import procedure requires Terraform v1.5.0 or later, for example in the import section of each guide (or in a shared note). Changing the general requirement in terraform-get-tidbcloud-provider.md to >=1.5.0 is another option, but only if all provider workflows are confirmed to need it.

This was found by CodeRabbit on the Japanese translation PR #24567. The Japanese translation follows the English, so it will pick up the fix through the weekly EN-to-JA sync.

🤖 Generated with Claude Code

Ngôn ngữ chính
Python
Star
616
Fork
724
Merge trung bình
2 ngày 5 giờ
Pull request đã merge (30 ngày)
168

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pingcap/docs

Tất cả issue của pingcap/docs

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.