mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-09-01 02:41:01 -07:00
fixed bug in delete action - skip_final_snapshot must always be set
This commit is contained in:
parent
041a4872fe
commit
d62beb2df5
1 changed files with 3 additions and 0 deletions
|
@ -423,6 +423,9 @@ def main():
|
|||
if snapshot:
|
||||
params["skip_final_snapshot"] = False
|
||||
params["final_snapshot_id"] = snapshot
|
||||
else:
|
||||
params["skip_final_snapshot"] = True
|
||||
|
||||
db = conn.delete_dbinstance(instance_name, **params)
|
||||
|
||||
except boto.exception.BotoServerError, e:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue