If more than 1 API Gateway is running on the same region the --clean led to a Too Many Requestserror thrown by boto3 DeleteRestApi
I've solved it by simply adding a time.sleep(50) right before this line as suggested in this boto3 issue
I've added an Issue instead of a pull request both for simplicity and also in case you'll find a better solution to overcome this :)
If more than 1 API Gateway is running on the same region the
--clean
led to aToo Many Requests
error thrown by boto3DeleteRestApi
I've solved it by simply adding atime.sleep(50)
right before this line as suggested in this boto3 issueI've added an Issue instead of a pull request both for simplicity and also in case you'll find a better solution to overcome this :)