Menu
AWS OpsWorks
User Guide (API Version 2013-02-18)

deploy Attributes

The built-in deploy cookbook's deploy.rb attributes file defines the following attributes in the opsworks 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.

Copy
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.

Copy
node[:opsworks][:deploy_user][:group]
user

(Linux only) The user setting for the app's deploy directory (string). The default value is deploy.

Copy
node[:opsworks][:deploy_user][:user]