@@ -59,6 +59,7 @@ func (r *RGT) GetClusterResources() (*Resources, error) {
59
59
60
60
paramSet := []* resourcegroupstaggingapi.GetResourcesInput {
61
61
{
62
+ ResourcesPerPage : aws .Int64 (50 ),
62
63
ResourceTypeFilters : []* string {
63
64
aws .String ("ec2" ),
64
65
},
@@ -74,6 +75,7 @@ func (r *RGT) GetClusterResources() (*Resources, error) {
74
75
},
75
76
},
76
77
{
78
+ ResourcesPerPage : aws .Int64 (50 ),
77
79
ResourceTypeFilters : []* string {
78
80
aws .String ("ec2" ),
79
81
},
@@ -89,6 +91,7 @@ func (r *RGT) GetClusterResources() (*Resources, error) {
89
91
},
90
92
},
91
93
{
94
+ ResourcesPerPage : aws .Int64 (50 ),
92
95
ResourceTypeFilters : []* string {
93
96
aws .String ("elasticloadbalancing" ),
94
97
},
@@ -127,6 +130,7 @@ func (r *RGT) GetClusterResources() (*Resources, error) {
127
130
if os .Getenv ("ALB_SUPPORT_LEGACY_DEPLOYMENTS" ) != "" {
128
131
// Legacy deployments may not have the proper tags, and RGT doesn't allow you to use wildcards on names
129
132
err := r .GetResourcesPages (& resourcegroupstaggingapi.GetResourcesInput {
133
+ ResourcesPerPage : aws .Int64 (50 ),
130
134
ResourceTypeFilters : []* string {
131
135
aws .String ("elasticloadbalancing" ),
132
136
},
0 commit comments