A per-session 'begin → plan → rollback' tool for AWS sandboxes
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aws_session_tx-0.1.1.tar.gz
(31.6 kB
view details)
File details
Details for the file aws_session_tx-0.1.1.tar.gz.
File metadata
- Download URL: aws_session_tx-0.1.1.tar.gz
- Upload date:
- Size: 31.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4011c983779de5302f33b51c755d64ce30d5971de8e800e7460ec9d601409e8
|
|
| MD5 |
81219f22c8e3a380ebf43fe30bef51a1
|
|
| BLAKE2b-256 |
a980abdbc7d737a76f0d6c568b9555143df9cdc38354d6ef6f4b062d3fc36051
|