Skip to content

Improve scenario-aware validation and resolved-value handling - #309

Merged
satyakigh merged 4 commits into
mainfrom
pending-fixes
Aug 15, 2026
Merged

Improve scenario-aware validation and resolved-value handling#309
satyakigh merged 4 commits into
mainfrom
pending-fixes

Conversation

@satyakigh

@satyakigh satyakigh commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

Improve condition-aware CloudFormation validation by expanding resolved values into bounded, compatible scenarios and applying that model consistently across IAM policies, lifecycle attributes, schema validation, and route-table identity checks.

Changes

  • Expand conditional maps, lists, and enum variants into compatible scenarios while preserving condition assumptions and authored source paths.
  • Enforce per-value and global scenario budgets, make global accounting safe for concurrent queries, and emit I9052 when analysis is curtailed.
  • Materialize IAM identity-policy documents per reachable scenario, including AWS::NoValue pruning, Fn::Sub handling, and branch-qualified diagnostic locations shared by Rego and CEL.
  • Track effective lifecycle-attribute presence and invalid values for condition-aware CreationPolicy and UpdatePolicy validation, including E3016 registration.
  • Improve parameter-default validation, including CommaDelimitedList defaults.
  • Extend schema-composition checks across reachable property scenarios, including required-property groups and notEnum handling.
  • Count Unicode scalar values rather than UTF-8 bytes for string-length diagnostics.
  • Add resolved-value identity support for route-table association conflict detection.

@satyakigh satyakigh changed the title Add templates Improve scenario-aware validation and resolved-value handling Aug 15, 2026
@satyakigh
satyakigh merged commit 33f1fd8 into main Aug 15, 2026
18 checks passed
@satyakigh
satyakigh deleted the pending-fixes branch August 15, 2026 20:05
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