# Not able to fetch RDS instance using rds\_instance\_info module

**URL:** <https://forum.ansible.com/t/not-able-to-fetch-rds-instance-using-rds-instance-info-module/37862>\
**Category:** Ansible Project\
**Created:** [April 7, 2023, 7:49am UTC](https://forum.ansible.com/t/not-able-to-fetch-rds-instance-using-rds-instance-info-module/37862 "2023-04-07T07:49:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anirban\_Das](https://avatars.discourse-cdn.com/v4/letter/a/9f8e36/32.png) [@Anirban\_Das](https://forum.ansible.com/u/Anirban_Das)\
**Post date:** [April 7, 2023, 7:49am UTC](https://forum.ansible.com/t/not-able-to-fetch-rds-instance-using-rds-instance-info-module/37862/1 "2023-04-07T07:49:47Z")

</div>

Hi Team,

I was trying to fetch my existing RDS instance using rds\_instance\_info module, but while I execute the playbook, I got below error. Can you please look into this and guide me what to do

**Error** : fatal: [localhost]: FAILED! =\> {“changed”: false, “msg”: “Failed to import the required Python library (botocore or boto3) on ansible-controller’s Python /usr/bin/python2. Please read module documentation and install in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible\_python\_interpreter”}

**Playbook:**

---

<div class="post-metadata">

**Author:** ![Will\_McDonald](https://avatars.discourse-cdn.com/v4/letter/w/f475e1/32.png) [@Will\_McDonald](https://forum.ansible.com/u/Will_McDonald)\
**Post date:** [April 7, 2023, 8:16am UTC](https://forum.ansible.com/t/not-able-to-fetch-rds-instance-using-rds-instance-info-module/37862/2 "2023-04-07T08:16:08Z")

</div>

1. What do you have in /etc/os-release ?

2. What version of Ansible do you have installed (and from where, packaged with the OS, pip installed?)

3. What version(s) of Python do you have installed?

4. Have you installed the requirements for whatever version of rds\_instance\_info\_module you are using? (python3, boto3, botocore)

[https://docs.ansible.com/ansible/latest/collections/amazon/aws/rds\_instance\_info\_module.html#requirements](https://docs.ansible.com/ansible/latest/collections/amazon/aws/rds_instance_info_module.html#requirements)  
[https://galaxy.ansible.com/amazon/aws?extIdCarryOver=true&sc\_cid=701f2000001OH7YAAW](https://galaxy.ansible.com/amazon/aws?extIdCarryOver=true&sc_cid=701f2000001OH7YAAW)
