Skip to content

Commit

Permalink
fix(neptune-instance): filter to neptune rds instances only
Browse files Browse the repository at this point in the history
  • Loading branch information
ekristen committed Oct 10, 2024
1 parent 672408a commit cb10704
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions resources/neptune-instances.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ func (l *NeptuneInstanceLister) List(_ context.Context, o interface{}) ([]resour

params := &neptune.DescribeDBInstancesInput{
MaxRecords: aws.Int64(100),
Filters: []*neptune.Filter{
{
Name: aws.String("engine"),
Values: []*string{aws.String("neptune")},
},
},
}

for {
Expand Down

0 comments on commit cb10704

Please sign in to comment.