feat(terraform_plan): filter `count` by change action
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 74/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- python, terraform
- 領域
- devops, infrastructure
調査の方向性
count の評価ブランチと provider_args の処理から始め、issue で説明されている代表的な plan を使って、resource_changes エントリがどのようにカウントされるかを追跡します。完了条件は、オプションの actions フィルターが、change.actions が指定されたリストと共通するエントリだけをカウントし、actions が省略された場合は既存の count の動作が変わらないことです。
索引モデルが issue の本文から書いたものです。
説明
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
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
StackGuardian/tirith のほかの issue
-
good first issue hacktoberfest tests
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
StackGuardian/tirith#381 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
research
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
StackGuardian/tirith#356 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
StackGuardian/tirith#302 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
StackGuardian/tirith#295 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
StackGuardian/tirith#294 ·
メンテナーはふだん 1 日以内に返信
StackGuardian/tirith の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
Vector35/community-plugins#376 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
py-econometrics/pyfixest#1883 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
ietf-tools/rfc2html#81 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
mysql/mysql-operator#60 ·
-
Python: Bug: split_plaintext_paragraph / split_markdown_paragraph can return a chunk larger than max_tokens対応中かも @xThreeh が今日担当しました。 オープンpython triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
microsoft/semantic-kernel#14566 ·
メンテナーはふだん 4 日以内に返信