Skip to content

Commit

Permalink
region and profile were not passed to get the status (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnorth98 authored May 13, 2022
1 parent 5b14e78 commit 4eaf3cd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion aws-connect
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Wrapper around AWS session manager for instance access and SSH tunnels

programname=$0
version=1.0.21
version=1.0.22

# Defaults
action=ssh
Expand Down Expand Up @@ -319,6 +319,8 @@ elif [ "${action}" == "document" ]; then
--command-id "${sh_command_id}" \
--details \
--output text \
--region "${aws_region}" \
--profile "${aws_profile}" \
--no-paginate \
--query "CommandInvocations[0].Status")

Expand All @@ -345,6 +347,8 @@ elif [ "${action}" == "document" ]; then
--command-id "${sh_command_id}" \
--details \
--output text \
--region "${aws_region}" \
--profile "${aws_profile}" \
--no-paginate \
--query "CommandInvocations[0].Status")

Expand Down

0 comments on commit 4eaf3cd

Please sign in to comment.