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

app cfn-teleport

Moves CloudFormation resources between stacks

19 breaking releases

new 0.21.0 Apr 14, 2024
0.19.0 Mar 31, 2024
0.11.0 Dec 30, 2023
0.10.0 Sep 9, 2023
0.3.0 Mar 30, 2023

#141 in Command line utilities

Download history 4/week @ 2023-12-29 1/week @ 2024-01-19 2/week @ 2024-02-09 162/week @ 2024-02-16 193/week @ 2024-02-23 26/week @ 2024-03-01 141/week @ 2024-03-08 13/week @ 2024-03-15 116/week @ 2024-03-22 160/week @ 2024-03-29 125/week @ 2024-04-05

418 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

~21–33MB
~476K SLoC