deploy Attributes - AWS OpsWorks

deploy Attributes

Important

The AWS OpsWorks Stacks service reached end of life on May 26, 2024 and has been disabled for both new and existing customers. We strongly recommend customers migrate their workloads to other solutions as soon as possible. If you have questions about migration, reach out to the AWS Support Team on AWS re:Post or through AWS Premium Support.

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.

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 is deploy.

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