Fork me on GitHub
#holy-lambda
<
2022-07-01
>
Benjamin15:07:58

jo when I run bb tasks in the latest template project:

The following tasks are available:

[holy-lambda] AWS configuration check failed. Unable to get value from the profile: default
Did you run command: aws configure?
my ~/.aws/config
[default]
region = us-east-1
output = json
what field is it trying to get that is not there?

Benjamin15:07:26

ah I'm checking tasks.clj and it gets access key and access key id

Benjamin15:07:33

the thing about this that is inconvinient for me is that I have bb bash completion setup (it calls bb tasks ). Would be nice if I am able to do bb tasks (and bash complete). And then it throws at a later point, e.g. when doing bb buid it says "no access key". I'm just thinking out loud.

Benjamin15:07:38

for reference I am fixing it by setting a profile where I have creds

Karol Wójcik10:07:29

@U02CV2P4J6S I can feel your pain. I'm rebuilding bb tasks right now.

Karol Wójcik10:07:49

For now I will disable this check, because it's useless for bb backend

Benjamin10:07:35

@UJ1339K2B nice. Yea I wonder if it is possible to somehow tell that the code is loaded via bb tasks I don't know. Then it could take steps to stay fast as well.

Karol Wójcik10:07:06

@U02CV2P4J6S Could you please check this tasks sha? ab59c3af21e4cc7d0da81a7899d334a60bbfa78e

Karol Wójcik10:07:33

I'm abandoning the bb tasks and will probably build a simple functions, that work both under bb and Clojure CLI.

Benjamin10:07:23

can confirm now I can all bb tasks without error

Benjamin10:07:31

yea sounds great! It would also make it nice then, if it doesn't need to load stuff when doing bb tasks