AWS Session TX
Track and clean up AWS resources created during development sessions.
Install
pip install aws-session-tx
Quick Start
aws-tx infra deploy
aws-tx begin my-session --ttl 2h
aws s3 mb s3://my-test-bucket
aws-tx status my-session
aws-tx rollback my-session --approve
Commands
| Command | Description |
|---|---|
aws-tx begin <name> |
Start session |
aws-tx status <name> |
Show status |
aws-tx plan <name> |
Show deletion plan |
aws-tx rollback <name> |
Delete resources |
aws-tx commit <name> |
Keep resources |
aws-tx cleanup all |
Clean everything |
aws-tx infra deploy |
Deploy infrastructure |
aws-tx infra destroy |
Destroy infrastructure |
Configuration
export AWS_SESSION_TX_TABLE_NAME=session-tx-dev
Examples
aws-tx begin dev --ttl 4h
aws-tx rollback dev --approve
License
MIT
Metadata
Release files for aws-session-tx 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aws_session_tx-0.1.1.tar.gz | 31.6 kB | Details |
Release files / aws_session_tx-0.1.1.tar.gz
| Download URL | aws_session_tx-0.1.1.tar.gz |
|---|---|
| Size | 31.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f4011c983779de5302f33b51c755d64ce30d5971de8e800e7460ec9d601409e8
|
|
BLAKE2b-256 checksum How to use checksums |
a980abdbc7d737a76f0d6c568b9555143df9cdc38354d6ef6f4b062d3fc36051
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|