aws-samples / ec2-classic-resource-finder

This script enables the identification of resources running in Amazon EC2 Classic
MIT No Attribution
131 stars 82 forks source link

Fails on Beanstalk applications with a space in the name #11

Closed jancolourbox closed 3 years ago

jancolourbox commented 3 years ago

Version: ea774c5301d30f3205d383fa60090b9628a7efb1

We got a Beanstalk application with a space in it's name (Public Page), so L220 fails to describe the configuration.

Result: In errors.txt you'll get:

An error occurred (InvalidParameterValue) when calling the DescribeConfigurationSettings operation: No Environment found for EnvironmentName = 'Page'.

and in Classic_ElasticBeanstalk_Applications_Environments.csv:

Public, Page, eu-west-1

jancolourbox commented 3 years ago

Just realized there is already a PR here for this: https://github.com/aws-samples/ec2-classic-resource-finder/pull/10/files