Dryrun-DiffΒΆ

Source code docs.

The dryrun-diff entrypoint (and corresponding manheim-c7n-tools step) must be run in a directory containing the dryrun/ output directory from a custodian dry run. It parses the resource counts for each policy executed in each region during the dry run, then retrieves the logs from the last actual custodian run from S3. The matched resource counts are compared, and a markdown file is generated for use as a GitHub PR comment. This allows us to compare the impact of policy change pull requests.

The generated markdown file will be written to ./pr_diff.md in the current directory.

If the dryrun-diff entrypoint has been run in a directory containing a jinja template located at ./reporting-template/report.j2, this template will be used to generate a detailed HTML report of which resources have been affected by policy changes. An example of a reporting jinja template can be found within the ./example_config_repo folder at the root of the Manheim repository. The report will written to ./pr_report.html in the current directory.