deploy Attributes
Important
AWS OpsWorks Stacks is no longer accepting new customers. Existing customers will be able to use the OpsWorks console, API, CLI, and CloudFormation resources as normal until May 26, 2024, at which time they will be discontinued. To prepare for this transition, we recommend you transition your stacks to AWS Systems Manager as soon as possible. For more information, see AWS OpsWorks Stacks End of Life FAQs and Migrating your AWS OpsWorks Stacks applications to AWS Systems Manager Application Manager.
The built-in deploy cookbook's deploy.rb
attributes fileopsworks
namespace. For more
information on deploy directories, see Deploy Recipes. For more information on how to override
built-in attributes to specify custom values, see Overriding Attributes.
- deploy_keep_releases
-
A global setting for the number of app deployments that AWS OpsWorks Stacks will store (number). The default value is 5. This value controls the number of times you can roll back an app.
node[:opsworks][:deploy_keep_releases]
- group
-
(Linux only) The
group
setting for the app's deploy directory (string). The default value depends on the instance's operating system:-
For Ubuntu instances, the default value is
www-data
. -
For Amazon Linux or RHEL instances that are members of a Rails App Server layer that uses Nginx and Unicorn, the default value is
nginx
. -
For all other Amazon Linux or RHEL instances, the default value is
apache
.
node[:opsworks][:deploy_user][:group]
-
- user
-
(Linux only) The
user
setting for the app's deploy directory (string). The default value isdeploy
.node[:opsworks][:deploy_user][:user]