arkime / aws-aio

Apache License 2.0
8 stars 3 forks source link

Added quick version checks to risky cluster-* and config-* cmds #160

Closed chelma closed 7 months ago

chelma commented 7 months ago

Description

Tasks

Testing

(.venv) chelma@3c22fba4e266 aws-aio % ./manage_arkime.py --region us-east-1 cluster-create --name MyClusterV2
2024-01-24 07:32:52 - Debug-level logs save to file: /Users/chelma/workspace/Arkime/aws-aio/manage_arkime/manage_arkime.log
2024-01-24 07:32:52 - Using AWS Credential Profile: None
2024-01-24 07:32:52 - Using AWS Region: us-east-1
2024-01-24 07:32:53 - The AWS AIO versions of your CLI (2) and Cluster (1) do not match.  This is likely to result in unexpected behavior.  Please change your CLI to the latest minor version under the m
ajor version (2).  Check out the following README section for more details: https://github.com/arkime/aws-aio#aws-aio-version-mismatch
2024-01-24 07:32:53 - Aborting...

(.venv) chelma@3c22fba4e266 aws-aio % git ls-remote --tags git@github.com:arkime/aws-aio.git
dfef816c31674390202b9048290037686118eec4        refs/tags/v0.1.1
a1aec22ecec9825d7d3920a2ad94800f595f9fa4        refs/tags/v1.0.0
1c851b5cd553fa2d65a68239b9f89eee4bbb2b34        refs/tags/v2.0.0
e679663ab65488802881cc7c7171c45903449a1d        refs/tags/v2.1.0
6c70ed45a4d59eae69d8ce0a85c284ad56fc2fa2        refs/tags/v2.2.0

License

I confirm that this contribution is made under an Apache 2.0 license and that I have the authority necessary to make this contribution on behalf of its copyright owner.