Logo

Command Palette

Search for a command to run...

stacks configuration upload

Updates the content of the specified configuration type on the stack and (optionally) applies it. You can find all the types of configuration available on your application using the stacks configuration list function.

$ cx stacks configuration upload --stack <application name> --type <config type> --source <source file> --no-apply --commit-message <message>

Options

ArgumentRequired?DefaultDescription
--stack, -s <application name>yesName of the application
--type, -t <config type>yesType of configuration to upload
--source <source file>yesThe source file containing the configuration you wish to upload
--no-applynoDo not automatically apply the configuration changes to your servers (default behaviour is to apply changes immediately)
--commit-message <message>noA message to associate with the configuration update

Examples

$ cx stacks configuration upload -s my-app -t nginx --source nginx.conf --no-apply --commit-message "changes to error pages"