#cloud-formation #resources #migration #aws #command-line-tool #cfn

app cfn-teleport

Moves CloudFormation resources between stacks

29 breaking releases

new 0.31.0 Nov 17, 2024
0.29.0 Oct 27, 2024
0.24.0 May 19, 2024
0.19.0 Mar 31, 2024
0.3.0 Mar 30, 2023

#131 in Command line utilities

Download history 107/week @ 2024-09-16 214/week @ 2024-09-23 202/week @ 2024-09-30 83/week @ 2024-10-07 105/week @ 2024-10-14 127/week @ 2024-10-21 54/week @ 2024-10-28 91/week @ 2024-11-04 104/week @ 2024-11-11

454 downloads per month

Apache-2.0 and GPL-3.0-or-later

2MB
2K SLoC

cfn-teleport

Release crates.io License

A command-line tool which can move CloudFormation resources between stacks.

Demo

Installation

On MacOS and Linux you can install via Homebrew:

brew install udondan/software/cfn-teleport

On Arch Linux you can install from AUR, e.g.:

yay -S cfn-teleport

On Windows you can install via Chocolatey:

choco install cfn-teleport

Pre-compiled binaries for various operating systems and architectures are available for download.

If you have rust/cargo installed, you can install the crate:

cargo install cfn-teleport

Usage

$ cfn-teleport --help
Move CloudFormation resources between stacks

Usage: cfn-teleport [OPTIONS]

Options:
  -s, --source <SOURCE>         Name of the source stack
  -t, --target <TARGET>         Name of the target stack
  -r, --resource <ID[:NEW_ID]>  Logical ID of a resource from the source stack - optionally with a new ID for the target stack
  -y, --yes                     Automatically confirm all prompts
  -h, --help                    Print help
  -V, --version                 Print version

Example usage:

cfn-teleport --source Stack1 --target Stack2 --resource Bucket21D68F7E8 --resource Bucket182C536A1 --yes

If any of the required options is undefined, the program will ask for it during execution.

Contributing

Contributions are welcome!

This project uses conventional commits. Please make sure all your merge request titles follow these specifications.

Dependencies

~23–33MB
~453K SLoC