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

Commit

Permalink
fix: Small Fixes (#1089)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbernays authored Jun 27, 2022
1 parent 8f378e9 commit f6fec91
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,15 +256,15 @@ provider "aws" {
// Optional. if you want to assume role to multiple account and fetch data from them
accounts "<AccountID_Alias_2>" {
// Optional. Role ARN we want to assume when accessing this account
role_arn = <YOUR_ROLE_ARN_1>
role_arn = "<YOUR_ROLE_ARN_1>"
// Optional. Local Profile is the named profile in your shared configuration file (usually `~/.aws/config`) that you want to use for this specific account
local_profile = "<NAMED_PROFILE>
local_profile = "<NAMED_PROFILE>"
// Optional. Specify the Role Session name
role_session_name = ""
}
accounts "<AccountID_Alias_2>" {
// Optional. Role ARN we want to assume when accessing this account
role_arn = <YOUR_ROLE_ARN_2>
role_arn = "<YOUR_ROLE_ARN_2>"
}
}
Expand Down
3 changes: 3 additions & 0 deletions resources/services/s3/buckets.go
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,9 @@ func resolveS3BucketsAttributes(ctx context.Context, meta schema.ClientMeta, res

output, err := mgr.GetBucketRegion(ctx, *resource.Name)
if err != nil {
if c.IsNotFoundError(err) {
return nil
}
return diag.WrapError(err)
}
// This is a weird corner case by AWS API https://github.com/aws/aws-sdk-net/issues/323#issuecomment-196584538
Expand Down

0 comments on commit f6fec91

Please sign in to comment.