When we do a deployment using the AWS-CodeDeploy-Bitbucket pipeline using the files from: https://bitbucket.org/awslabs/aws-codedeploy-bitbucket-pipelines-python/src/master/
We get the error:
+ python codedeploy_deploy.py
Failed to deploy application revision.
An error occurred (ThrottlingException) when calling the GetDeployment operation (reached max retries: 4): Rate exceeded
We know that this is an issue with API throttling at the AWS end, as outlined here: https://stackoverflow.com/questions/55016714/an-error-occurred-throttlingexception-when-calling-the-getdeployment-operation
We have tried to use the forked codedeploy_deploy.py listed in the above article but it didn't work for us.
We don't have anyone with the skill to amend the codedeploy_deploy.py to use a standoff, and we were hoping someone would be able to help us with the issue.
The deployment succeeds on the AWS CodeDeploy side, so we can upadte our clients websites but we need our developers to know when a deployment has succeeded or legitimately failed.