Skip to content

Commit e0c5e31

Browse files
ekristencorybekk
authored andcommitted
fix(neptune-instance): filter to neptune rds instances only
1 parent 5ff9c52 commit e0c5e31

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

resources/neptune-instances.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ func (l *NeptuneInstanceLister) List(_ context.Context, o interface{}) ([]resour
3232

3333
params := &neptune.DescribeDBInstancesInput{
3434
MaxRecords: aws.Int64(100),
35+
Filters: []*neptune.Filter{
36+
{
37+
Name: aws.String("engine"),
38+
Values: []*string{aws.String("neptune")},
39+
},
40+
},
3541
}
3642

3743
for {

0 commit comments

Comments
 (0)