Skip to content

Instantly share code, notes, and snippets.

@rberger
Created November 29, 2009 09:04
Show Gist options
  • Save rberger/244860 to your computer and use it in GitHub Desktop.
Save rberger/244860 to your computer and use it in GitHub Desktop.
# You will have to have somehow included the opscode cookbook aws recipe before this
# with a depends statement in the metadata.rb of this recipe
aws_ebs_volume "mysql_data_volume" do
aws_access_key node[:runa][:aws_access_key]
aws_secret_access_key node[:runa][:aws_secret_access_key]
volume_id node[:runa][:volume_id]
availability_zone node[:runa][:availability_zone]
device node[:runa][:device]
action :attach
provider "aws_ebs_volume"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment