Support for Profile?
deleugpn opened this issue · comments
While trying to use the tool, I get an error that suggests that I use aws configure
. However I have several accounts/credentials and none of them are default to my environment. Using profile would be ideal.
Hi, thanks for creating this issue @deleugpn!
It does support using profile, so you can use your profile by just exposing it as AWS_PROFILE
like:
AWS_PROFILE=<your profile name> ./check-ecs-exec.sh <your cluster name> <your task id>
Please take a look at the usage section as well :)
Also, feel free to reopen the issue if my comment above is not getting your point!
AWS_PROFILE
works, thanks!