tedsmitt / ecsgo

Provides an interactive prompt to connect to ECS Containers using the ECS ExecuteCommand API.
Apache License 2.0
81 stars 13 forks source link

DRAFT: Fix/#21 platform family nil ref #27

Closed tedsmitt closed 1 year ago

tedsmitt commented 1 year ago

Adds a check to the PlatformFamily value (only available on Fargate tasks) and if it is not available, then we get the container instance OS and add our own "PlatformFamily" value. This prevents the nil pointer issue we were seeing on EC2 launch-type tasks.