Sep 17, 2018 macOS 10.12.6. I switched to 9.4.0 and was able to install serverless globally just fine. Node version doesn’t seem to affect the install for me at least but just to eliminate that possibility have you tried a lower version? Serverless Contact Form (using AWS Lambda) by James Wade.because I didn't want to run an entire server just to send some emails from a simple static website.
Latest versionLast released:
A configuration client for AWS serverless Python systems
Project description
A simple configuration client for AWS serverless Python systems.
There is also a jvm version.
Installation
or
AWS lambda includes boto3 in its environment, so serverless-config does not include it as a dependency in order to decrease the deployment package size.If you wish to use serverless-config locally, be sure to install boto3 as well.
Quickstart
The default config will search for a parameter with the following order of precedence: System Environment, AWS SSM Parameter Store. You can learn more about them below.
Supported Config Sources
System Environment
The System environment is a good place to store microservice-specific parameters. They are set on the lambda function itself.
AWS SSM Parameter Store
SSM is perfect for storing parameters that are shared across microservices, and for storing encrypted secrets. It is fully managed, and does not require any configuration to get started.
Note: the IAM role requires the AmazonSSMReadOnlyAccess policy to get properties from SSM.
A secret can optionally be decrypted in transit. That way, you do not need to worry about configuring your IAM role for access to the KMS Key.
Composite Configs
The default_config will first search in the system environment. If the parameter is not there, then it will search in AWS SSM.
Custom Configs
You can even implement your own custom configs and composite configs!
Caching
Serverless Python Requirements
The default_config will cache properties for 5 minutes. If you wish to use a specific or custom config, you can wrap the CachedConfig around it.
Release historyRelease notifications
0.3.1
Serverless Install Serverless-python-requirements
0.3.0
0.2.2
0.2.1
0.2.0
0.1.5.dev5 pre-release
0.1.5.dev4 pre-release
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Serverless Framework Python
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size serverless-config-0.3.1.tar.gz (5.1 kB) | File type Source | Python version None | Upload date | Hashes |
Hashes for serverless-config-0.3.1.tar.gz
Best Serverless Framework
Serverless Install Itunes
Algorithm | Hash digest |
---|---|
SHA256 | 1e202e9312ff02811c56538eab56b91c6801685c1053c0cde85069bc179533c5 |
MD5 | b744290657d0671b523e5a0170c13a5b |
BLAKE2-256 | 3bafa39146e3b7b3ac1504cc706715054186e242b9d855cd2fa67da3295ba5e3 |