Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Describe .pywren_config in "getting started" #134

Closed
kgjamieson opened this issue May 1, 2017 · 2 comments
Closed

Describe .pywren_config in "getting started" #134

kgjamieson opened this issue May 1, 2017 · 2 comments

Comments

@kgjamieson
Copy link

It appears that at least these things need to be defined:

AWS_REGION = config['account']['aws_region']
FUNCTION_NAME = config['lambda']['function_name']
S3_BUCKET = config['s3']['bucket']
S3_PREFIX = config['s3']['pywren_prefix']
RUNTIME_S3_BUCKET = config['runtime']['s3_bucket']
RUNTIME_S3_KEY = config['runtime']['s3_key']

An example would be very helpful.
In particular, can config['s3']['bucket'] and config['runtime']['s3_bucket'] be the same?

Presumably config['lambda']['function_name'] is the relative path to the main .py file

@shivaram
Copy link
Collaborator

shivaram commented May 1, 2017

@kgjamieson did you try out the pywren-setup script ? That should create the config file for you

@kgjamieson
Copy link
Author

Gah. Sorry, I thought that was interactive install and dismissed it. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants