Skip to main content

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


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.0.tar.gz (31.7 kB view details)

Uploaded Source

File details

Details for the file aws_session_tx-0.1.0.tar.gz.

File metadata

  • Download URL: aws_session_tx-0.1.0.tar.gz
  • Upload date:
  • Size: 31.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for aws_session_tx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cfafa3ed0bd259631737471fb945dec9c371ed7371609969dd37902a40a6dcb7
MD5 d028828766cd81b43ee5087dea5d3269
BLAKE2b-256 ad0cd70eef456d4309e2329a567faaf8682dfcdd212843074723773813d8bdbd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page