-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't use undefined value as ARRAY reference #6
Comments
Hi, Sorry for not seeing this before (It kind of got lost between other stuff). Since the error is here: https://github.com/pplu/aws-map/blob/master/lib/AWS/Network/SecurityGroupMap.pm#L154 It would look like you have an ELBv2 with no SecurityGroups. Can you do a DescribeLoadBalancers in the ELBv2 API (can be done with the AWS CLI) and send me the results? (please redact any identifying or delicate information). This will probably be solved by adding a Can you try that and report if it worked? |
Hello ! |
Can you attach the errors? |
"my" variable $elb masks earlier declaration in same scope at lib/AWS/Network/SecurityGroupMap.pm line 154. |
Thank you ! ;) |
@Hindmalti : the way I had suggested the fix there was a syntax error (missing If you still get errors it could be because you're using a very old Perl (aws-map needs Perl > 5.18 #7). You can use https://perlbrew.pl/ to get a modern Perl running, or take a look at running aws-map from a Docker container (you have a working Dockerfile in the project). Please tell me if this helped. |
@Hindmalti : did you finally get this working? |
Hi, When running the program I get an error
Can't use an undefined value as an ARRAY reference at lib/AWS/Network/SecurityGroupMap.pm line 154.
The text was updated successfully, but these errors were encountered: