Skip to content

Instantly share code, notes, and snippets.

@garo
Created December 11, 2013 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garo/7912708 to your computer and use it in GitHub Desktop.
Save garo/7912708 to your computer and use it in GitHub Desktop.
credentials = data_bag_item "credentials", "aws"
aws_ebs_volume device do
aws_access_key credentials["aws_access_key_id"]
aws_secret_access_key credentials["aws_secret_access_key"]
device device
action [ :create, :attach ]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment