# ThrottlingException in KMS

**URL:** <https://forum.ansible.com/t/throttlingexception-in-kms/34962>\
**Category:** Ansible Project\
**Tags:** aws\
**Created:** [April 12, 2021, 6:32am UTC](https://forum.ansible.com/t/throttlingexception-in-kms/34962 "2021-04-12T06:32:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jayesh\_Mahajan](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@Jayesh\_Mahajan](https://forum.ansible.com/u/Jayesh_Mahajan)\
**Post date:** [April 12, 2021, 6:32am UTC](https://forum.ansible.com/t/throttlingexception-in-kms/34962/1 "2021-04-12T06:32:10Z")

</div>

Dear All,

I am facing throttling issue in AWS KMS.  
I just want to understand why? I am using below task to perform upgrade on instances.

- aws\_kms\_facts:  
region: “{{ region }}”  
filters:  
alias: “{{ envrn }}-{{ region }}-iqbot-ebs-key”  
register: iqbot\_ebs\_key

I am getting exceptions for below quotas and need to understand how much API above script call for one instance?

- listkeypolicies

- listgrants (happened mostly)

- listresourcetags

by default, I have 100 API call per second but still it get throttled.

Thanks

---

<div class="post-metadata">

**Author:** ![Jayesh\_Mahajan](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@Jayesh\_Mahajan](https://forum.ansible.com/u/Jayesh_Mahajan)\
**Post date:** [April 13, 2021, 5:15am UTC](https://forum.ansible.com/t/throttlingexception-in-kms/34962/2 "2021-04-13T05:15:13Z")

</div>

Dear All,

Is anyone know about this??

---

<div class="post-metadata">

**Author:** ![Komal\_Suthar](https://avatars.discourse-cdn.com/v4/letter/k/919ad9/32.png) [@Komal\_Suthar](https://forum.ansible.com/u/Komal_Suthar)\
**Post date:** [April 13, 2021, 7:03am UTC](https://forum.ansible.com/t/throttlingexception-in-kms/34962/3 "2021-04-13T07:03:32Z")

</div>

[https://aws.amazon.com/premiumsupport/knowledge-center/kms-throttlingexception-error/](https://aws.amazon.com/premiumsupport/knowledge-center/kms-throttlingexception-error/)  
This might help u

---

<div class="post-metadata">

**Author:** ![Jayesh\_Mahajan](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@Jayesh\_Mahajan](https://forum.ansible.com/u/Jayesh_Mahajan)\
**Post date:** [April 13, 2021, 8:02am UTC](https://forum.ansible.com/t/throttlingexception-in-kms/34962/4 "2021-04-13T08:02:26Z")

</div>

Dear Komal,

I already gone this document but this is not related with ansible. Basically I want in background how ansible call the mentioned resource quotas.

If you know that then please let me know.

Thanks & Regards,  
Jayesh Mahajan
