fixed bug in delete action - skip_final_snapshot must always be set

This commit is contained in:
Bruce Pennypacker 2013-06-10 15:49:38 -04:00
parent 041a4872fe
commit d62beb2df5

View file

@ -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: