Skip to content

boot log: each role's policy names its document by key - #129

Merged
aledbf merged 1 commit into
mainfrom
boot-log-json
Nov 17, 2026
Merged

aledbf merged 1 commit into
mainfrom
boot-log-json

Conversation

@aledbf

@aledbf aledbf commented Nov 17, 2026

Copy link
Copy Markdown
Member

A follow-up to #125. aws_iam_policy.boot_log used for_each over the policy documents themselves, so each.value was the whole data source object, including its deprecated source_json/override_json, and every plan and task lint printed eight Value derived from a deprecated source warnings. It now iterates the keys and reads data.aws_iam_policy_document.boot_log[each.key].json. The policies are the same.

task lint: the warnings are gone, and 65 + 7 posture runs pass.

🤖 Generated with Claude Code

for_each over the policy documents themselves handed each.value - the
whole data source, its deprecated source_json and override_json among
it - to the policy, and every plan warned of it. The documents are
named by key instead; the policies are the same.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@aledbf
aledbf merged commit 6fde863 into main Nov 17, 2026
1 check passed
@aledbf
aledbf deleted the boot-log-json branch November 17, 2026 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant