mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Fixes parameters passed to subnet_group_absent
This commit is contained in:
parent
7d2e3404ae
commit
9660b82c1a
@ -415,9 +415,7 @@ def subnet_group_absent(name, tags=None, region=None, key=None, keyid=None, prof
|
||||
ret['comment'] = 'RDS subnet group {0} is set to be removed.'.format(name)
|
||||
ret['result'] = None
|
||||
return ret
|
||||
deleted = __salt__['boto_rds.delete_subnet_group'](name, skip_final_snapshot,
|
||||
final_db_snapshot_identifier,
|
||||
region, key, keyid, profile)
|
||||
deleted = __salt__['boto_rds.delete_subnet_group'](name, region, key, keyid, profile)
|
||||
if not deleted:
|
||||
ret['result'] = False
|
||||
ret['comment'] = 'Failed to delete {0} RDS subnet group.'.format(name)
|
||||
|
Loading…
Reference in New Issue
Block a user