cloud-validation-framework icon indicating copy to clipboard operation
cloud-validation-framework copied to clipboard

Feature Request: Individual snapshot file name should consist of {snapshotId}_{masterTestId}

Open rezoan opened this issue 4 years ago • 1 comments

I was just trying to check the compliance of available snapshots from generated master snapshot (master-snapshot_gen.json) for terraform azure and did ran prancer compliance scenario-terraform-azure from prancer-hello-world app.

in the snapshots folder i saw lots of snapshot file for individual test case with some confusing name (snapshotId from master-snapshot_gen.json) and its hard to determine for which test case this snapshot file is generated.

For example after running the compliance test for scenario-terraform-azure you will see a snapshot file scenario-terraform-azure/snapshots/TRF_TEMPLATE_SNAPSHOT33. its basically terraform resource snapshot of test id TEST_NETWORK_SECURITY_GROUP_1 according to terraform /master-compliance-test

It would be nice if we can set some meaningful name to the sanpshot file. e.g. {snapshotId}_{masterTestId}. more simply if we can rename the snapshot file name from TRF_TEMPLATE_SNAPSHOT33 to TRF_TEMPLATE_SNAPSHOT33_TEST_NETWORK_SECURITY_GROUP_1 it would make life so easier.

rezoan avatar Jul 15 '21 11:07 rezoan

Needs discussion

jaiminswan avatar Dec 27 '22 06:12 jaiminswan