stackctl-capture - Generate stack specifications from deployed stacks
stackctl capture [options] STACK
Fetches the CloudFormation Template and currently supplied Parameters of a deployed Stack and stores it as a stack specification under the currently-authorized AWS Account and Region.
If files already exist at the inferred locations, they will be overwritten.
-n, --account-name=NAME
stacks/{account-id}.NAME/.... If not given, we will
use ${AWS_PROFILE:-unknown}.-t, --template-path=PATH
${STACK}.yaml.-p, --path=PATH
${STACK}.yaml.--no-flipSTACKGlobs are also supported and all matching Stacks will be captured. When
there are multiple Stacks being captured, the --path and --template-path
will be ignored and all Stacks will be captured to their inferred paths.
AWS_PROFILE-n.