Skip to content

v1.7.0

Choose a tag to compare

@cloudpossebot cloudpossebot released this 12 Jul 22:40
· 16 commits to refs/heads/main since this release
303b347
QueryCommandInput for Latest from PR @milldr (#16)

what

  • Use a QueryCommandInput instead of a ScanCommandInput to get the latest change from a PR
  • Remove Limit from PR command

why

  • QueryCommandInput should be used with QueryCommand to filter and pull the latest DynamoDB table entry
  • Without this change, the action always fails to find the plan entry even if the entry is valid
{"message":"The plan for demo-new in the stack plat-use2-sandbox for pr 22 does not exist."}
  • Limit will only return the most recent result before filtering. This means only the most recent planfile will be returned across all PRs, not our specific PR

A single Query operation will read up to the maximum number of items set (if using the Limit parameter) or a maximum of 1 MB of data and then apply any filtering to the results using FilterExpression.

references