Commit d62beb2d by Bruce Pennypacker

fixed bug in delete action - skip_final_snapshot must always be set

parent 041a4872
...@@ -423,6 +423,9 @@ def main(): ...@@ -423,6 +423,9 @@ def main():
if snapshot: if snapshot:
params["skip_final_snapshot"] = False params["skip_final_snapshot"] = False
params["final_snapshot_id"] = snapshot params["final_snapshot_id"] = snapshot
else:
params["skip_final_snapshot"] = True
db = conn.delete_dbinstance(instance_name, **params) db = conn.delete_dbinstance(instance_name, **params)
except boto.exception.BotoServerError, e: except boto.exception.BotoServerError, e:
......
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