Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions providers/aws/resources/aws_elasticache.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ func (a *mqlAwsElasticache) getCacheClusters(conn *connection.AwsConnection) []*
log.Warn().Str("region", region).Msg("error accessing region for AWS API")
return res, nil
}
if IsServiceNotAvailableInRegionError(err) {
log.Debug().Str("region", region).Msg("elasticache service not available in region")
return res, nil
}
return nil, err
}
for _, cluster := range clusters.CacheClusters {
Expand Down Expand Up @@ -205,6 +209,10 @@ func (a *mqlAwsElasticache) getServerlessCaches(conn *connection.AwsConnection)
log.Warn().Str("region", region).Msg("error accessing region for AWS API")
return res, nil
}
if IsServiceNotAvailableInRegionError(err) {
log.Debug().Str("region", region).Msg("elasticache service not available in region")
return res, nil
}
return nil, err
}
for _, cache := range caches.ServerlessCaches {
Expand Down
Loading