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

app cfn-teleport

Moves CloudFormation resources between stacks

27 breaking releases

new 0.29.0 Oct 27, 2024
0.27.0 Oct 6, 2024
0.24.0 May 19, 2024
0.19.0 Mar 31, 2024
0.3.0 Mar 30, 2023

#89 in Command line utilities

Download history 215/week @ 2024-09-22 211/week @ 2024-09-29 175/week @ 2024-10-06 32/week @ 2024-10-13 130/week @ 2024-10-20

570 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

~22–32MB
~456K SLoC