Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

Commit

Permalink
fix: Ignore AWS backup tags for not found resource (#1211)
Browse files Browse the repository at this point in the history
  • Loading branch information
zagronitay authored Jul 11, 2022
1 parent 78b6ae4 commit ac11c91
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resources/services/backup/vaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,10 @@ func resolveRecoveryPointTags(ctx context.Context, meta schema.ClientMeta, resou
for {
result, err := svc.ListTags(ctx, &params, func(o *backup.Options) { o.Region = cl.Region })
if err != nil {
if client.IsAWSError(err, "ERROR_2603") {
// ignoring "ERROR_2603: Cannot find recovery point."
return nil
}
if resourceARN.Service == string(client.DynamoDBService) && client.IsAWSError(err, "ERROR_3930") {
// advanced backup features are not enabled for dynamodb
return nil
Expand Down

0 comments on commit ac11c91

Please sign in to comment.