Installer for IOpipe
Applies the IOpipe layers to functions in your AWS account. Uses credentials as configured for the AWS CLI.
Runtimes supported
Node.js 10
Java 8
Python 2.7
Python 3.6
Installation & configuration
On your system CLI:
pip3 install iopipe-cli
This tool assumes the AWS cli tool is configured correctly. Install and configure the AWS CLI as such:
pip3 install awscli --upgrade --user
Run the awscli configuration wizard:
aws configure
Refer to the AWS CLI User Guide for advanced configuration options and support for the aws cli tool.
Installing IOpipe for functions with iopipe
The easiest way to update a function is to update it with the AWS Lambda API:
iopipe lambda install --function <name or arn> --token <IOPIPE_TOKEN>
The token may also be passed by the CLI’s environment variable, IOPIPE_TOKEN.
If your Lambda has been deployed by Cloudformation, this method will cause stack drift.
Troubleshooting
MacOS X: cannot find iopipe after installation
Make sure your python script bin directory is included in your path.
The documentation for the AWS cli covers this topic and describes a solution.
Error: Invalid value for “–token” / “-t”: token invalid.
Your token may be malformed or corrupted. Try copying-and-pasting again, or using quotations on the cli.
Some users also report that they have the incorrect jwt library installed on their system. This project uses the popular pyjwt module installable from PyPi.
Error: Unknown parameter in input: "Layers", must be one of: FunctionName, Role, Handler, Description, Timeout, MemorySize, VpcConfig, Environment, Runtime, DeadLetterConfig, KMSKeyArn, TracingConfig, RevisionId
If you encounter this error, please update your boto3 dependency to the latest version.
Metadata
Release files for iopipe-cli 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| iopipe-cli-0.1.7.tar.gz | 11.8 kB | Without provenance | Details for iopipe-cli-0.1.7.tar.gz |
Release files / iopipe-cli-0.1.7.tar.gz
| Download URL | iopipe-cli-0.1.7.tar.gz |
|---|---|
| Size | 11.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
285f96619983bdaf26c1ae67da30a862a5bdf0804e6650968e8b40a85e0410f9
|
|
BLAKE2b-256 checksum How to use checksums |
b2363ad03ecfd65497dd4f2b5fc5c5a5770e2123b172f7d0d58c7b7831237fbf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.35.0 CPython/3.7.4
|
Security for iopipe-cli 0.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.