Skip to content

Commit 8a62515

Browse files
authored
update retry logic to match error (#1208)
1 parent 9c17165 commit 8a62515

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

reference-artifacts/Add-ons/opensiem/lambdas/common/src/backoff.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export const isThrottlingError = (e: any) =>
5151
e.code === 'InsufficientDeliveryPolicyException' || // Retry for ConfigService
5252
e.code === 'NoAvailableDeliveryChannelException' || // Retry for ConfigService
5353
e.code === 'ConcurrentModifications' || // Retry for AssociateHostedZone
54+
e.code === 'ConcurrentModification' || // Retry for AssociateHostedZone
5455
e.code === 'TooManyRequestsException' ||
5556
e.code === 'Throttling' ||
5657
e.code === 'ThrottlingException' ||

src/lib/common/src/aws/backoff.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export const isThrottlingError = (e: any) =>
5151
e.code === 'InsufficientDeliveryPolicyException' || // Retry for ConfigService
5252
e.code === 'NoAvailableDeliveryChannelException' || // Retry for ConfigService
5353
e.code === 'ConcurrentModifications' || // Retry for AssociateHostedZone
54+
e.code === 'ConcurrentModification' || // Retry for AssociateHostedZone
5455
e.code === 'TooManyRequestsException' ||
5556
e.code === 'Throttling' ||
5657
e.code === 'ThrottlingException' ||

src/lib/custom-resources/cdk-cfn-utils/cdk/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export const isThrottlingError = (e: any) =>
5353
e.code === 'InsufficientDeliveryPolicyException' || // Retry for ConfigService
5454
e.code === 'NoAvailableDeliveryChannelException' || // Retry for ConfigService
5555
e.code === 'ConcurrentModifications' || // Retry for AssociateHostedZone
56+
e.code === 'ConcurrentModification' || // Retry for AssociateHostedZone
5657
e.code === 'TooManyRequestsException' ||
5758
e.code === 'Throttling' ||
5859
e.code === 'ThrottlingException' ||

0 commit comments

Comments
 (0)