env-aws-params icon indicating copy to clipboard operation
env-aws-params copied to clipboard

Without credentials should have non-zero exit status

Open iain opened this issue 7 years ago • 1 comments

Currently if you run the command, and you haven't set up AWS credentials properly, it won't execute your command, but have a zero exit status, suggesting that everything went okay. Wouldn't it make more sense if it exited with a non-zero status?

Example:

bash-4.4# env-aws-params --prefix /foobar /bin/ls && echo $?
ERROR: NoCredentialProviders: no valid providers in chain. Deprecated.
	For verbose messaging see aws.Config.CredentialsChainVerboseErrors
0

iain avatar Sep 07 '18 17:09 iain

That does make sense

gmr avatar Sep 07 '18 18:09 gmr

This should be fixed by #18

dave-shawley avatar Jul 28 '23 13:07 dave-shawley