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.
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.