Skip to content

Instantly share code, notes, and snippets.

@GRGSIBERIA
Created January 30, 2014 20:01
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 GRGSIBERIA/8717586 to your computer and use it in GitHub Desktop.
Save GRGSIBERIA/8717586 to your computer and use it in GitHub Desktop.
RDSに接続してインスタンスを取得するだけ
require "aws-sdk"
rds = AWS::RDS.new(
:access_key_id => "XXX",
:secret_access_key => "XXX",
:rds_endpoint => "rds.us-west-2.amazonaws.com")
inst = rds.db_instances['DB Instance Identifier']
puts inst.db_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment