diff --git a/cloud/amazon/rds.py b/cloud/amazon/rds.py index 71ead8ad10b..3d6f192b9ab 100644 --- a/cloud/amazon/rds.py +++ b/cloud/amazon/rds.py @@ -715,7 +715,10 @@ def delete_db_instance_or_snapshot(module, conn): if instance_name: if snapshot: params["skip_final_snapshot"] = False - params["final_snapshot_id"] = snapshot + if has_rds2: + params["final_db_snapshot_identifier"] = snapshot + else: + params["final_snapshot_id"] = snapshot else: params["skip_final_snapshot"] = True result = conn.delete_db_instance(instance_name, **params)