I just got started with Chaos Toolkit and the AWS driver. I immediately
ran into issue with automatically creating and deleting documents with
every run.
When not specifying version_name, I get the following error:
When I do specify the version_name, I get the following error, because it's the only version that exists:
[2021-01-13 16:14:59 ERROR] => failed: chaoslib.exceptions.ActivityFailed: Failed to delete document 'chaos-latency': 'Default version of the document can't be deleted.'
So this PR allows for version_name to be empty, so the entire SSM document is deleted.
I just got started with Chaos Toolkit and the AWS driver. I immediately ran into issue with automatically creating and deleting documents with every run.
When not specifying version_name, I get the following error:
When I do specify the version_name, I get the following error, because it's the only version that exists:
So this PR allows for version_name to be empty, so the entire SSM document is deleted.