Skip to content

Instantly share code, notes, and snippets.

@kagminjeong
Created April 5, 2011 22:53
Show Gist options
  • Save kagminjeong/904753 to your computer and use it in GitHub Desktop.
Save kagminjeong/904753 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'right_aws'
a=RightAws::AsInterface.new
a.create_launch_configuration('test1', 'ami-5ae11133', 'm1.small', :user_data => 'foo bar')
a.describe_launch_configurations.map { |lc| lc[:user_data] }
# => ["Zm9vIGJhcg=="]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment