citizensadvice / cdk-changeset-reporter

Gather and report changeset information for CFN changesets created by the CDK
Apache License 2.0
0 stars 0 forks source link

PLATFORM-290: changeset filter #7

Closed zhelyan closed 1 year ago

zhelyan commented 1 year ago

you can test with e.g.

# in a cdk project dir, source the venv then:
pip install ../cdk-changeset-reporter 

# prep changesets
cdk deploy "test/**  -m prepare-change-set --change-set-name foo-cdk-bar

# report
python3 -m cdk_changeset_reporter -n foo-cdk-bar -s test --level DEBUG
zhelyan commented 1 year ago

so @MatthewCane yes, in order to avoid false positives the value passed to --change-set-name must be unique to all stacks in scope e.g. in GHA - <pr_number>-<workflow_run>