Skip to content

Commit

Permalink
Merge pull request #32 from ag5/fix/aws-list
Browse files Browse the repository at this point in the history
Fix/aws list
  • Loading branch information
amohabir authored May 19, 2022
2 parents 7bcd5a6 + 74fd849 commit b7ca290
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changes

### v1.10.1

- fix aws listing (use recursive search)

### v1.10.0

- add AWS Parameter Store backend
Expand Down
3 changes: 2 additions & 1 deletion backend/aws-parameterstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ func (s *AWSParameterStore) Get(ctx context.Context, p *Profile, key string) ([]
func (s *AWSParameterStore) List(ctx context.Context, p *Profile) (list []Key, err error) {
input := &ssm.GetParametersByPathInput{
Path: aws.String("/"),
MaxResults: aws.Int64(10), // is the maximum
MaxResults: aws.Int64(10), // is the documented maximum
Recursive: aws.Bool(true),
}
for {
output, err := s.client.GetParametersByPath(input)
Expand Down

0 comments on commit b7ca290

Please sign in to comment.