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: