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

app cfn-teleport

Moves CloudFormation resources between stacks

22 breaking releases

0.24.0 May 19, 2024
0.22.0 Apr 28, 2024
0.19.0 Mar 31, 2024
0.11.0 Dec 30, 2023
0.3.0 Mar 30, 2023

#269 in Command line utilities

Download history 145/week @ 2024-03-09 9/week @ 2024-03-16 116/week @ 2024-03-23 165/week @ 2024-03-30 130/week @ 2024-04-06 136/week @ 2024-04-13 7/week @ 2024-04-20 161/week @ 2024-04-27 154/week @ 2024-05-04 6/week @ 2024-05-11 178/week @ 2024-05-18 6/week @ 2024-05-25

1,855 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
~467K SLoC