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

@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
Copy link
Collaborator

@shivaram 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

@kgjamieson 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.