community.aws.rds_instance module

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

anyone have any idea on this one?

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.

'm using third party module, I even made a fork to make some changes to work with python 3: