Skip to content

Commit

Permalink
app config: fix max results 100 -> 50
Browse files Browse the repository at this point in the history
  • Loading branch information
tbarrella committed Aug 15, 2023
1 parent 96d3e60 commit 0ea637b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion resources/appconfig-applications.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func ListAppConfigApplications(sess *session.Session) ([]Resource, error) {
svc := appconfig.New(sess)
resources := []Resource{}
params := &appconfig.ListApplicationsInput{
MaxResults: aws.Int64(100),
MaxResults: aws.Int64(50),
}
err := svc.ListApplicationsPages(params, func(page *appconfig.ListApplicationsOutput, lastPage bool) bool {
for _, item := range page.Items {
Expand Down
2 changes: 1 addition & 1 deletion resources/appconfig-configurationprofiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func ListAppConfigConfigurationProfiles(sess *session.Session) ([]Resource, erro
}
params := &appconfig.ListConfigurationProfilesInput{
ApplicationId: application.id,
MaxResults: aws.Int64(100),
MaxResults: aws.Int64(50),
}
err := svc.ListConfigurationProfilesPages(params, func(page *appconfig.ListConfigurationProfilesOutput, lastPage bool) bool {
for _, item := range page.Items {
Expand Down
2 changes: 1 addition & 1 deletion resources/appconfig-deploymentstrategies.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func ListAppConfigDeploymentStrategies(sess *session.Session) ([]Resource, error
svc := appconfig.New(sess)
resources := []Resource{}
params := &appconfig.ListDeploymentStrategiesInput{
MaxResults: aws.Int64(100),
MaxResults: aws.Int64(50),
}
err := svc.ListDeploymentStrategiesPages(params, func(page *appconfig.ListDeploymentStrategiesOutput, lastPage bool) bool {
for _, item := range page.Items {
Expand Down
2 changes: 1 addition & 1 deletion resources/appconfig-environments.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func ListAppConfigEnvironments(sess *session.Session) ([]Resource, error) {
}
params := &appconfig.ListEnvironmentsInput{
ApplicationId: application.id,
MaxResults: aws.Int64(100),
MaxResults: aws.Int64(50),
}
err := svc.ListEnvironmentsPages(params, func(page *appconfig.ListEnvironmentsOutput, lastPage bool) bool {
for _, item := range page.Items {
Expand Down
2 changes: 1 addition & 1 deletion resources/appconfig-hostedconfigurationversions.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func ListAppConfigHostedConfigurationVersions(sess *session.Session) ([]Resource
params := &appconfig.ListHostedConfigurationVersionsInput{
ApplicationId: configurationProfile.applicationId,
ConfigurationProfileId: configurationProfile.id,
MaxResults: aws.Int64(100),
MaxResults: aws.Int64(50),
}
err := svc.ListHostedConfigurationVersionsPages(params, func(page *appconfig.ListHostedConfigurationVersionsOutput, lastPage bool) bool {
for _, item := range page.Items {
Expand Down

0 comments on commit 0ea637b

Please sign in to comment.