Skip to main content

atmos aws cloudformation deploy

Create or update the CloudFormation stack for a component. deploy is an alias for apply that defaults --auto-approve to true, matching the established terraform deploy = "apply with auto-approve" convention — useful for CI, where nothing is present to answer an interactive prompt.

Experimental
atmos aws cloudformation deploy --help
 

Usage

atmos aws cloudformation deploy <component> --stack <stack> [options]
atmos aws cloudformation deploy vpc -s plat-ue2-dev

# Deploy components filtered by tags or labels (composes with --all/--affected)
atmos aws cloudformation deploy --all --tags production,tier-1
atmos aws cloudformation deploy --affected --labels cost-center=platform

Flags

--stack, -s (required for a single component)
Atmos stack. Required when operating on a single component; optional (and used only to narrow the selected set) with --all/--affected.
--target (optional)
Provision target to deliver to. Defaults to provision.default, otherwise the implicit direct-deploy target.
--auto-approve (optional, defaults to true)
Skip the interactive confirmation prompt. Pass --auto-approve=false to require confirmation, just like apply without the flag.
--all / --affected / --include-dependents (optional)
Process multiple aws/cloudformation components in dependency order. See apply.
--tags / --labels (optional)
Filter by tags (comma-separated, matches any) or labels (comma-separated key=value or key:value pairs, matches all): --tags=production,tier-1, --labels=cost-center=platform. Compose with --all/--affected to narrow the selected set further; cannot be combined with a single component argument.