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:
---
- rds:
apply_immediately: "{{ apply_immediately }}"
command: "{{ command }}"
instance_name: "{{ instance_name }}"
size: "{{ size }}"
instance_type: "{{ instance_type }}"
iops: "{{ iops }}"
password: "{{ db_admin_user_pwd }}"
parameter_group: "{{ parameter_group }}"
multi_zone: "{{ multi_zone }}"
region: "{{ region }}"
vpc_security_groups: "{{ vpc_security_groups }}"
wait: "{{ wait }}"
wait_timeout: "{{ wait_timeout }}"
Not sure what to do here, since I am passing in both size and iops in with
extra variables, and those values exist in the playbook.
Any assistance would be appreciated.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/bf8493f1-ef83-45cf-9580-5ac1d21ed9ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.