provider/ec2: type switch in isZoneConstrainedError