community.aws.rds_instance module

73 views
Skip to first unread message

Tony

unread,
Jan 4, 2022, 10:11:47 AM1/4/22
to Ansible Project
I want to use the community.aws.rds_instance module to create an Aurora DB.

However I am a bit stuck on the cluster element when using the below example:

- name: create minimal aurora instance in default VPC and default subnet group community.aws.rds_instance: engine: aurora db_instance_identifier: ansible-test-aurora-db-instance instance_type: db.t2.small password: "{{ password }}" username: "{{ username }}" cluster_id: ansible-test-cluster # This cluster must exist - see rds_cluster to manage it

How do I handle the cluster element? I am not sure what the "see rds_cluster" descriptor means, I cant find any other modules to handle the cluster.

Any help anyone?

Cheers

Tony

unread,
Jan 5, 2022, 4:39:50 AM1/5/22
to Ansible Project
anyone have any idea on this one?
Message has been deleted
Message has been deleted

Sloane Hertel

unread,
Jan 6, 2022, 9:38:36 AM1/6/22
to Ansible Project
Talked to Tony in IRC, but for anyone else who finds this in hope of an answer: the rds_cluster module was not merged, so the comment in rds_instance is misleading. There is an active pull request to include the rds_cluster module in community.aws: https://github.com/ansible-collections/community.aws/pull/687. Please try it out and leave feedback.

Sidnei Weber

unread,
Jan 6, 2022, 12:51:03 PM1/6/22
to Ansible Project
'm using third party module, I even made a fork to make some changes to work with python 3: 
Reply all
Reply to author
Forward
0 new messages