def get_database_endpoints(options = {})
      rds_physical_ids = get_resource_ids(resources(options), "AWS::RDS::DBInstance").values
      return [] if rds_physical_ids.empty?
      rds = Fog::AWS::RDS.new(:aws_access_key_id => @access_key_id, :aws_secret_access_key => @secret_access_key, :region => @region)
      endpoints = []
      rds_physical_ids.each do |rds_physical_id|
        endpoint = rds.describe_db_instances(rds_physical_id).body["DescribeDBInstancesResult"]["DBInstances"][0]["Endpoint"] rescue nil
        endpoints << {:address => endpoint["Address"], :port => endpoint["Port"]} unless endpoint.nil?
      end
      return endpoints
    end
def get_database_endpoints(options = {})
      rds_physical_ids = get_resource_ids(resources(options), "AWS::RDS::DBInstance").values
      return [] if rds_physical_ids.empty?
      rds = Fog::AWS::RDS.new(:aws_access_key_id => @access_key_id, :aws_secret_access_key => @secret_access_key, :region => @region)
      endpoints = []
      rds_physical_ids.each do |rds_physical_id|
        endpoint = rds.describe_db_instances(rds_physical_id).body["DescribeDBInstancesResult"]["DBInstances"][0]["Endpoint"] rescue nil
        endpoints << {:address => endpoint["Address"], :port => endpoint["Port"]} unless endpoint.nil?
      end
      return endpoints
    end
Returns all RDS(database) endpoints in a stack

 ==== Examples
   cloud = Cloudster::Cloud.new(
    :access_key_id => 'aws_access_key_id',
    :secret_access_key => 'aws_secret_access_key',
    :region => 'us-east-1'
   )
   cloud.get_database_endpoints(:stack_name => 'ShittyStack')

 ==== Parameters
 * options<~Hash>
   * :stack_name : A string which will contain the name of the stack

 ==== Returns
 * Array of hashes, example: [{:address => 'simcoprod01.cu7u2t4uz396.us-east-1.rds.amazonaws.com', :port => '3306'}]