Accretion CLI
The Accretion CLI is the primary point for controlling Accretion resources.
The Accretion CLI maintains configuration state in a “Deployment File”.
Usage
init
Initialize the DEPLOYMENT_FILE for deployments to REGIONS.
This does NOT deploy to those regions.
Run accretion update to update and fill all regions in a deployment file.
accretion init DEPLOYMENT_FILE REGIONS...
update
Update deployments in all regions described in DEPLOYMENT_FILE.
This will also initialize any empty deployment regions and complete any partial deployments.
accretion update all DEPLOYMENT_FILE
add regions
Add more REGIONS to an existing deployment description in DEPLOYMENT_FILE.
This does NOT deploy to those regions.
Run accretion update to update and fill all regions in a deployment file.
accretion add regions DEPLOYMENT_FILE REGIONS...
destroy
Destroy all resources for an Accretion deployment described in DEPLOYMENT_FILE.
accretion destroy DEPLOYMENT_FILE
request
Request a new layer version build.
raw
Request a new layer in every region in DEPLOYMENT_FILE. The Layer must be described in the Accretion format in REQUEST_FILE.
{
"Name": "layer name",
"Language": "Language to target",
"Requirements": {
"Type": "accretion",
"Requirements": [
{
"Name": "Requirement Name",
"Details": "Requirement version or other identifying details"
}
]
},
"Requirements": {
"Type": "requirements.txt",
"Requirements": "Raw contents of requirements.txt file format"
}
}
accretion request raw DEPLOYMENT_FILE REQUEST_FILE
requirements
Request a new layer named LAYER_NAME in every region in DEPLOYMENT_FILE. The Layer requirements must be defined in the Python requirements.txt format in REQUIREMENTS_FILE.
accretion request DEPLOYMENT_FILE REQUIREMENTS_FILE
list
layers
List all Accretion-managed Lambda Layers and their versions in the specified region.
accretion list layers DEPLOYMENT_FILE REGION_NAME
describe
layer-version
Describe a Layer version, listing the contents of that Layer.
accretion describe layer-version DEPLOYMENT_FILE REGION_NAME LAYER_NAME LAYER_VERSION
check
Check a “Request File” for correctness.
accretion check REQUEST_FILE
Deployment File
An Accretion deployment file describes the stacks associated with a single Accretion deployment.
It is a JSON file with the following structure:
{
"Deployments": {
"AWS_REGION": {
"Core": "STACK_NAME",
"ArtifactBuilder": "STACK_NAME",
"LayerBuilder": "STACK_NAME"
}
}
}
Request File
An Accretion require file describes the Layer that is being requested.
It is a JSON file with the following structure:
{
"Name": "layer name",
"Language": "Language to target",
"Requirements": {
"Type": "accretion",
"Requirements": [
{
"Name": "Requirement Name",
"Details": "Requirement version or identifying details"
}
]
},
"Requirements": {
"Type": "requirements.txt",
"Requirements": "Raw contents of requirements.txt file format"
}
}
Metadata
Release files for accretion-cli 0.1.0
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 |
|---|---|---|---|---|
| accretion_cli-0.1.0.tar.gz | 32.4 kB | Without provenance | Details for accretion_cli-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| accretion_cli-0.1.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for accretion_cli-0.1.0-py2.py3-none-any.whl |
Total release size: 65.5 kB
Release files / accretion_cli-0.1.0.tar.gz
| Download URL | accretion_cli-0.1.0.tar.gz |
|---|---|
| Size | 32.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e843be71510cc42d7bc3298520223fb307b980fa9d025cf72df9c72c282ca9cb
|
|
BLAKE2b-256 checksum How to use checksums |
f700225de1a007190d13dd55174e7e9e20bf2bd44051126ec6390ef969670654
|
| 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.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
|
Release files / accretion_cli-0.1.0-py2.py3-none-any.whl
| Download URL | accretion_cli-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 33.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
1f3352fe8ae1448a98e55ca09c0eeaa46ee679577bf9eb0b11d614d1aad5cd28
|
|
BLAKE2b-256 checksum How to use checksums |
050e7930cc51d8c970dfcb733a31d34f96b7c4776a729cc2ddbd1fcc19bb7623
|
| 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.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
|
Security for accretion-cli 0.1.0
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.