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

オープン 初心者向け
#24,582 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@yahonda がすでに取り組んでいます。

2026年11月11日 から。

  • #24674 @yahonda による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
77/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
terraform
領域
documentation

調査の方向性

tidb-cloud/terraform-get-tidbcloud-provider.mdと、masterおよびrelease-8.5にある一覧掲載のTerraformリソースガイドを読み、インポート手順と前提条件へのリンクに注目してください。インポートブロックとterraform plan -generate-config-outにはTerraform v1.5.0以降が必要であることを記載し、共通の注記にするか、各ガイドに個別の表現を追加するかを選んでください。変更する前に、プロバイダー全般の要件がほかのワークフローにも適用されるか確認してください。各インポート手順に従うユーザーが正しいバージョン要件を確認できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Python
スター
616
フォーク
724
平均マージ
2日 5時間
マージ済み PR(30日)
168

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pingcap/docs のほかの issue

pingcap/docs の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。