Skip to content

giuliocalzolari/ec2stash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EC2 Stash Store

https://circleci.com/gh/giuliocalzolari/ec2stash/tree/master.svg?style=svg https://badge.fury.io/py/ec2stash.png

Config

this script is designed to run across multiple accounts and across multiple regions you can switch between regions/accounts using some OS vars

To execute an assume role action:

$ export AWS_SSM_ROLE=arn:aws:iam::111111111:role/admin

Command

$ ec2stash -h
Usage: ec2stash [OPTIONS] COMMAND [ARGS]...

Options:
  --iam TEXT     IAM to assume
  --region TEXT  AWS region
  --kms TEXT     KMS Key
  --help         Show this message and exit.

Commands:
  backup
  blockerase
  delete
  erase
  get
  gettag
  list
  put
  render
  restore
  setup
  tag

License

ec2stash is licensed under the MIT.