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

Comments

Projects
None yet
2 participants
@kgjamieson

kgjamieson commented May 1, 2017

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

This comment has been minimized.

Show comment
Hide comment
@shivaram

shivaram May 1, 2017

Collaborator

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

Collaborator

shivaram commented May 1, 2017

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

@kgjamieson

This comment has been minimized.

Show comment
Hide comment
@kgjamieson

kgjamieson May 1, 2017

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

kgjamieson commented May 1, 2017

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

@kgjamieson kgjamieson closed this May 1, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment