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

Commit

Permalink
fix: Another bucket not found error (#1247)
Browse files Browse the repository at this point in the history
  • Loading branch information
irmatov authored Jul 20, 2022
1 parent c3aea9d commit 5216cd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/services/s3/buckets.go
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ func resolveS3BucketsAttributes(ctx context.Context, meta schema.ClientMeta, res

output, err := mgr.GetBucketRegion(ctx, *resource.Name)
if err != nil {
if c.IsNotFoundError(err) {
if isBucketNotFoundError(c, err) {
return nil
}
return diag.WrapError(err)
Expand Down

0 comments on commit 5216cd0

Please sign in to comment.