Skip to content

Commit

Permalink
update retry logic to match error
Browse files Browse the repository at this point in the history
  • Loading branch information
hickeydh-aws committed Feb 7, 2024
1 parent 9c17165 commit 7927779
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export const isThrottlingError = (e: any) =>
e.code === 'InsufficientDeliveryPolicyException' || // Retry for ConfigService
e.code === 'NoAvailableDeliveryChannelException' || // Retry for ConfigService
e.code === 'ConcurrentModifications' || // Retry for AssociateHostedZone
e.code === 'ConcurrentModification' || // Retry for AssociateHostedZone
e.code === 'TooManyRequestsException' ||
e.code === 'Throttling' ||
e.code === 'ThrottlingException' ||
Expand Down
1 change: 1 addition & 0 deletions src/lib/common/src/aws/backoff.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export const isThrottlingError = (e: any) =>
e.code === 'InsufficientDeliveryPolicyException' || // Retry for ConfigService
e.code === 'NoAvailableDeliveryChannelException' || // Retry for ConfigService
e.code === 'ConcurrentModifications' || // Retry for AssociateHostedZone
e.code === 'ConcurrentModification' || // Retry for AssociateHostedZone
e.code === 'TooManyRequestsException' ||
e.code === 'Throttling' ||
e.code === 'ThrottlingException' ||
Expand Down
1 change: 1 addition & 0 deletions src/lib/custom-resources/cdk-cfn-utils/cdk/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export const isThrottlingError = (e: any) =>
e.code === 'InsufficientDeliveryPolicyException' || // Retry for ConfigService
e.code === 'NoAvailableDeliveryChannelException' || // Retry for ConfigService
e.code === 'ConcurrentModifications' || // Retry for AssociateHostedZone
e.code === 'ConcurrentModification' || // Retry for AssociateHostedZone
e.code === 'TooManyRequestsException' ||
e.code === 'Throttling' ||
e.code === 'ThrottlingException' ||
Expand Down

0 comments on commit 7927779

Please sign in to comment.