Commit d3755dc3 authored by Afraz Ahmadzadeh's avatar Afraz Ahmadzadeh

Fixing RDS cleanup bug

parent a454b33f
Pipeline #2113 failed with stages
in 56 seconds
......@@ -42,9 +42,10 @@ def rds(ctx, source_role_arn, target_role_arn, snapshot_style, source_instance_n
rds_copy.copy_instance()
logging.info("Will now delete useless snapshots")
snapshots = cleanup_snapshots.CleanupSnapshots(region,
snapshots = cleanup_snapshots.CleanupSnapshots(
region,
"{},{}".format(source_role_arn,target_role_arn),
["akinaka-made"],
"akinaka-made",
True
)
snapshots.cleanup()
......
......@@ -6,7 +6,7 @@ with open("README.md", "r") as fh:
setuptools.setup(
name="akinaka",
python_requires='>=3.3.0',
version="0.2.26",
version="0.2.27",
author="Afraz",
author_email="afraz@olindata.com",
description="OlinData's aws cli Extras",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment