diff --git a/CHANGELOG.md b/CHANGELOG.md index 43e1b84..1186acf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # CHANGELOG -## [1.0.24] +## [1.1.1] + +- @qedgardo ssh: filter instances by PingStatus to ensure only get online instances #26 +- @mkhinda29 Fix regression when using -t (tags) or -n (Name tag) + +## [1.1.0] - @andreclaro add AWS System Manager support to connect to non-EC2 instances using their Name tag (use of `-m` flag) diff --git a/aws-connect b/aws-connect index 5d5a301..0f20c87 100755 --- a/aws-connect +++ b/aws-connect @@ -3,7 +3,7 @@ # Wrapper around AWS session manager for instance access and SSH tunnels programname=$0 -version=1.1.0 +version=1.1.1 # Defaults action=ssh @@ -215,8 +215,8 @@ if [ -n "${instance_id}" ] && [ -n "${ssm_name}" ]; then exit 1 fi -if [ -n "${instance_id}" ]; then - echo "Instance ID: ${instance_id}" +if [ -n "${tag_value}" ]; then + echo "Instance Name Tag: ${tag_value}" instance_ids=$(get_instances_by_tag "${tag_value}" "${aws_region}" "${aws_profile}") fi diff --git a/package.json b/package.json index a3cc22a..d6b7272 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aws-connect", - "version": "1.0.24", + "version": "1.1.1", "description": "Wrapper script around AWS session manager to establish remote shell connections or SSH tunnels", "scripts": ["aws-connect"], "global": "true",