Hatch plugin for building AWS Lambda functions with SAM
Project description
Table of Contents
Global dependency
Add hatch-aws
within the build-system.requires
field in your pyproject.toml
file.
[build-system]
requires = ["hatchling", "hatch-aws"]
build-backend = "hatchling.build"
Builder
The builder plugin name is called aws
.
To enable it, include following configuration in you config file:
-
pyproject.toml
[tool.hatch.build.targets.aws]
-
hatch.toml
[build.targets.aws]
Options
Following table contains available customization of builder behavior. You can see example of pyproject.toml
in tests/assets/pyproject.toml.
Option | Type | Default | Description |
---|---|---|---|
template-name |
str |
template.yml |
The filename of a SAM template. |
use-container |
bool |
false |
Make build inside an AWS Lambda-like Docker container. |
parameter-overrides |
array of inline tables |
Override SAM template parameter |
License
Plugin hatch-aws
is distributed under the terms of the MIT license.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hatch_aws-0.1.0.tar.gz
(8.8 kB
view details)
Built Distribution
File details
Details for the file hatch_aws-0.1.0.tar.gz
.
File metadata
- Download URL: hatch_aws-0.1.0.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.23.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86d9a6444984f832427fdb300699e971467c8ec9d189758f1ad3838ab8499b21 |
|
MD5 | d2b4afe9c52d5c72942f45b719e2b9cd |
|
BLAKE2b-256 | 8f4a47e0a237bc2185c11b40db8db254ebe9b63c478bc1bf7e34dc039c9829c3 |
File details
Details for the file hatch_aws-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: hatch_aws-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.23.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 000fdced2571ef250997ea68d0f19f78fbe05c45373ad13f3131498edeb1a6f3 |
|
MD5 | b2dda104e50f96448f4fd605354422aa |
|
BLAKE2b-256 | e7b4d2d6f8f8b6e434735c83adaca2a6d0344ba8abc0986de919bb1512cf34a1 |