aws-nuke
aws-nuke copied to clipboard
aws-nuke lists only 25 IoTCertificate a time
Hi, I'm trying to delete all the IoTCertificates (~ 5000 certs) on my AWS account except one but aws-nuke lists only 25 certificates a time. Here's my configuration:
regions:
- eu-central-1
account-blocklist:
- "XXXXXXXXX"
accounts:
"XXXXXXXXX":
filters:
IoTCertificate:
- type: exact
value: xxxxxxx
resource-types:
targets:
- IoTCertificate
When I launch aws-nuke it finds 25 certificates and removes them, if I relaunch it, it finds other 25 certs and so on.
I think this bug is caused by the fact that the listCertificates results are paginated.