list
and exec
on non-existent or inaccessible services fails silently on S3 KMS backend
#358
Labels
list
and exec
on non-existent or inaccessible services fails silently on S3 KMS backend
#358
I'm running into an issue when running
chamber list
orchamber exec
with a service that doesn't exist will report back in the same way as if the list was empty. I found this out when I accidentally messed up the IAM policy to allow an EC2 instance to read the secrets for a particular chamber service. The instance didn't have access to the service it needed but successfully runningexec
, just not setting any of the secrets as env vars. I see similar behavior withlist
, where the table is just empty.I'm not sure if there is a way of differentiating non-existent, empty and inaccessible, from stepping through with a debugger I can see that the list objects response for a non-existent service is empty:
Perhaps we could write a warning that would simplify the debugging process?
The text was updated successfully, but these errors were encountered: