StackGuardian / StackGuardian/tirith

feat(terraform_plan): clearer reason messages — resource, action and attribute in every result

Open
#304 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
165
Forks
42
Avg merge
1d 3h
Merged PRs (30d)
11

Description

In flight as #287 — land it. NotEquals printed `"public-read"` is not equal to `"private"`
and nothing else; with 30 buckets that is 30 identical lines. After the change every terraform_plan
message names the resource address, its planned action and the attribute —
[aws_s3_bucket.example (create)] acl: … — via an optional provider context key rendered by
format_context_prefix() and kept as structured fields on the result.

Acceptance. #287 merged on main; CHANGELOG entry; tests/example-output.jsonc reflects the
new shape.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review issue #287 and its state on main first, then inspect format_context_prefix() and the provider context/result fields. Check tests/example-output.jsonc and the CHANGELOG; done means the new resource, action, and attribute context shape is reflected there after #287 lands.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, terraform
Domain
devops, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.