aws-solutions / media-services-application-mapper

Media Services Application Mapper is a browser-based tool that allows operators to visualize the structure and logical connections among AWS Media Services and supporting services in the cloud. The tool can be used as a top-down resource monitoring tool when integrated with CloudWatch.
Apache License 2.0
83 stars 34 forks source link

Add empty Tags to ec2 node if none returned from service #381

Closed davemevans closed 10 months ago

davemevans commented 1 year ago

The front end assumes that EC2 always returns Tags, but the service will only return this in the Instance description if any tags have been set. This causes an error to appear in the browser console.

Make sure that the node discovery lambda adds an empty Tags to the EC2 Instance description when none have been returned, as is done for other services, to keep the front end sweet.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

raulmlamzn commented 11 months ago

Thank you @davemevans for your input. We will consider your feedback and have added this request to our backlog for this solution.

dch90 commented 10 months ago

PR implemented in v1.13.0