Currently, this tool is not usable if the AWS account has more than 200 EC2 instances running because the maximum amount of filters or filter values in a DescribeInstances API call is exceeded. When running gossm, the following error prints:
FilterLimitExceeded: The maximum number of filter values specified on a single call is 200
This change breaks up the call to DescribeInstances into multiple requests when there are more than 200 instances running.
Currently, this tool is not usable if the AWS account has more than 200 EC2 instances running because the maximum amount of filters or filter values in a
DescribeInstances
API call is exceeded. When runninggossm
, the following error prints:This change breaks up the call to
DescribeInstances
into multiple requests when there are more than 200 instances running.Fixes #31