Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

feat(terraform_plan): filter `count` by change action

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

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

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
74/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python, terraform

調査の方向性

count の評価ブランチと provider_args の処理から始め、issue で説明されている代表的な plan を使って、resource_changes エントリがどのようにカウントされるかを追跡します。完了条件は、オプションの actions フィルターが、change.actions が指定されたリストと共通するエントリだけをカウントし、actions が省略された場合は既存の count の動作が変わらないことです。

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

説明

enhancement

count matches on terraform_resource_type only, and Terraform includes unchanged resources in
resource_changes as no-op entries — so count(*) returns the size of the root module, not the
size of the change. A representative plan with 240 entries of which 238 are no-ops counts 240 while
the blast radius is 2. Related: #230.

Fix. Optional actions list in provider_args; skip entries whose change.actions do not
intersect it (~15 lines in the count branch). Unlocks the blast-radius rule
(actions: ["delete"] + LessThanEqualTo: 2) as one policy — a pattern hand-rolled with
jq and shell in many pipelines today, and hard to express per-resource.

主要言語
Python
スター
167
フォーク
47
平均マージ
2時間 44分
マージ済み PR(30日)
5

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

StackGuardian/tirith のほかの issue

StackGuardian/tirith の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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