Skip to main content

atmos aws cloudformation backend update

Apply configuration changes to the S3 bucket referenced by the component's resolved kind: aws/s3 provision target — creating it first if it doesn't exist yet, then bringing its versioning, encryption, and public-access-block settings in line with Atmos's secure defaults. backend update and backend create dispatch through the identical idempotent code path; update exists as the explicit, intention-revealing verb for "make sure this bucket's settings are still correct."

Experimental
atmos aws cloudformation backend update --help
 

Usage

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

Disambiguate when the component declares more than one kind: aws/s3 target:

atmos aws cloudformation backend update vpc -s plat-ue2-dev --target artifacts

Flags

--stack, -s (required)
Atmos stack.
--target (optional)
The kind: aws/s3 provision target to use. Required when more than one is declared.
--identity, -i (optional)
Atmos identity to authenticate with.

Behavior

See backend create for the full description of what settings are applied and how the bucket already existing is handled.