atmos store set
Write a value to a configured store backend. This command creates a new value or updates an existing one. You can supply the value inline. You can also pipe the value in with --stdin. Or, if you run the command in a terminal with no VALUE argument, Atmos prompts you for the value and masks your input. You do not need to declare a key first. You can write any KEY to any configured store.
Usage
atmos store set STORE KEY [VALUE] [flags]
Examples
# Set a value inline, scoped to a stack and component
atmos store set app-metadata image_tag sha256:abc123 --stack=prod --component=ecs-service
# Set a value interactively with a masked prompt
atmos store set app-metadata image_tag --stack=prod --component=ecs-service
# Read a multi-line value from standard input
cat manifest.json | atmos store set app-metadata deploy_manifest --stdin --stack=prod --component=ecs-service
# Store-global value (no --stack/--component)
atmos store set app-metadata shared_config '{"region":"us-east-1"}'
# Write to a store using a specific identity
atmos store set app-metadata image_tag sha256:abc123 --stack=prod --component=ecs-service --identity=aws/prod-metadata