-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Jared Markell edited this page Apr 9, 2014
·
2 revisions
Welcome to the opsworks-scripts wiki!
Sample usage of execute-instance-recipes.rb.
To use the script, the preferred way is to utilize environmental variables with CodeShip.

Then create your CodeShip deployment pipeline script, as such.
# install aws command line tools
pip install awscli
# grab execute script
wget https://raw.githubusercontent.com/jaredm4/opsworks-scripts/master/execute-instance-recipes.rb
# run publish recipes
ruby execute-instance-recipes.rb $MY_OPSWORKS_STACK $MY_OPSWORKS_STACK_LAYER '["my_cookbook::my_recipe"]' '{"foo": "bar"}'