Skip to content

Commit

Permalink
Merge pull request ansible-collections#414 from vorotech/patch-1
Browse files Browse the repository at this point in the history
rds_instance: map Tags parameters from dict to list on restore_db_instance_from_db_snapshot method

Reviewed-by: https://github.com/apps/ansible-zuul
  • Loading branch information
ansible-zuul[bot] authored Apr 13, 2021
2 parents dc2ffc1 + 0b8b4f7 commit f7b3e05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rds_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,7 @@ def get_parameters(client, module, parameters, method_name):
if parameters.get('ProcessorFeatures') == [] and not method_name == 'modify_db_instance':
parameters.pop('ProcessorFeatures')

if method_name == 'create_db_instance' or method_name == 'create_db_instance_read_replica':
if method_name in ['create_db_instance', 'create_db_instance_read_replica', 'restore_db_instance_from_db_snapshot']:
if parameters.get('Tags'):
parameters['Tags'] = ansible_dict_to_boto3_tag_list(parameters['Tags'])

Expand Down

0 comments on commit f7b3e05

Please sign in to comment.