# RDS modify error

**URL:** <https://forum.ansible.com/t/rds-modify-error/18485>\
**Category:** Ansible Project\
**Created:** [June 12, 2015, 4:11pm UTC](https://forum.ansible.com/t/rds-modify-error/18485 "2015-06-12T16:11:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjeffers](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@jjeffers](https://forum.ansible.com/u/jjeffers)\
**Post date:** [June 12, 2015, 4:11pm UTC](https://forum.ansible.com/t/rds-modify-error/18485/1 "2015-06-12T16:11:08Z")

</div>

I’m running into a problem trying to use the RDS module to modify an existing RDS instance.

When running this command (attempting to modify the instance from db.t2.small to db.t2.medium):

ansible-playbook rds.yml -e “command=modify application=soa db\_admin\_user=\*\*\*\*\*\* db\_admin\_user\_pwd='_ **’ env=dev instance\_name=** instance\_type=db.t2.medium iops=1000 read\_only\_replica=false size=200 subnet=_\*\*\*\*\*\* vpc\_security\_groups=\*\*\*\*\*\*\*”

I get the following error:

TASK: [rds | rds] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

failed: [localhost] =\> {“failed”: true}

msg: Both storage size and iops need to be specified when modifying storage size or iops on an DB Instance that has iops

Here’s what the play looks like for a modify:
