Skip to content

Commit

Permalink
Add limiter tags for aws_s3_bucket GetBucketLocation hydrate function (
Browse files Browse the repository at this point in the history
  • Loading branch information
cbruno10 authored Jan 31, 2024
1 parent 7f3849a commit e41a9d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions aws/table_aws_s3_bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ func tableAwsS3Bucket(_ context.Context) *plugin.Table {
// anyway just to get the creation_date which is only available via the
// list call.
HydrateConfig: []plugin.HydrateConfig{
{
Func: getBucketLocation,
Tags: map[string]string{"service": "s3", "action": "GetBucketLocation"},
},
{
Func: getBucketIsPublic,
Depends: []plugin.HydrateFunc{getBucketLocation},
Expand Down

0 comments on commit e41a9d3

Please sign in to comment.