Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

app config: fix max results 100 -> 50 #1075

Merged
merged 1 commit into from
Aug 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading