lithops-cloud / lithops

A multi-cloud framework for big data analytics and embarrassingly parallel jobs, that provides an universal API for building parallel applications in the cloud ☁️🚀
http://lithops.cloud
Apache License 2.0
317 stars 105 forks source link

Unexplained exception #1119

Closed oanamoc closed 1 year ago

oanamoc commented 1 year ago

Hello, I have just started learning about lithops and I am intending to configure it to use it with amazon lambda and amazon s3. I've made a config.yaml file and the contents are these (instead of the placeholder text I have put my information): lithops: backend: aws_lambda storage: aws_s3

aws: access_key_id: YOUR_ACCESS_KEY_ID secret_access_key: YOUR_SECRET_ACCESS_KEY region_name: YOUR_REGION_NAME

aws_lambda: execution_role: arn:aws:iam::923514422203:role/lithops-execution-role region_name: YOUR_REGION_NAME

My issue is that when I run this line in terminal (I am in the folder the file is): lithops test -b aws_lambda -s aws_s3

It tells me this: Exception: 'aws' section is mandatory in the configuration Which is obviously not the case, as you can see.

I imagine the solution is something very simple but I am just starting to learn, so I would appreciate the help.

Thanks

JosepSampe commented 1 year ago

Hi @oanamoc, Wich of the options listed here are you using to configure Lithops? Note that none of them use the extension .yaml

oanamoc commented 1 year ago

I was trying to do option 2. You are right, I got confused and I read some bad information somewhere else. I figured it out up until now. I had some bad settings and I couldn't see files staring with '.' Thank you very much