Enhancement: read resolved Terraform module versions from `.terraform/modules/modules.json`
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 75/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- terraform, typescript
調査の方向性
Start with src/core-open/scanners/terraform-scanner.ts and the existing .terraform.lock.hcl handling; check the Terraform scanner fixtures and tests for how resolved versions are asserted. Add coverage for a modules.json entry with version 5.8.1, the missing or unreadable file fallback, and update the lock-file note in DOCS.md. Done when the fixture reports resolvedVersion 5.8.1 and output without the file stays unchanged.
索引モデルが issue の本文から書いたものです。
説明
Context
For providers, src/core-open/scanners/terraform-scanner.ts reads .terraform.lock.hcl and reports the exact resolvedVersion. Modules have no lock file, so a constraint like version = "~> 5.0" is reported with resolvedVersion: null and drift is computed from the lowest version the range allows. After terraform init (or tofu init), the version actually installed for each module is recorded in .terraform/modules/modules.json (Modules[].Source / Version).
What to do
- When
.terraform/modules/modules.jsonexists next to the configuration, use itsVersionfor matching registry module sources asresolvedVersion. - Fall back to today's behaviour when the file is missing or unreadable.
- Document the behaviour in DOCS.md next to the existing lock-file note.
Acceptance
- A fixture with
version = "~> 5.0"and amodules.jsonentry at5.8.1reportsresolvedVersion5.8.1. - Without
modules.json, output is unchanged. - DOCS.md mentions the file.
- 主要言語
- TypeScript
- スター
- 4
- フォーク
- 3
- 平均マージ
- 1日 22時間
- マージ済み PR(30日)
- 76
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
vibgrate/cli のほかの issue
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
area: documentation status: in progress type: documentation
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
Oddmash/oddmash-ui#222 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
appium/appium-wincore-driver#169 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
india-ultimate/hub#715 ·
メンテナーはふだん 1 日以内に返信
-
documentation Entwickler
難易度 1/5 1時間未満 初心者へのやさしさ 89/100
メンテナーはふだん 1 日以内に返信