title: DB Security Groups can only be associated with VPC DB Instances using API versions
body: <p>I have this code below to create a RDS instance in aws:</p>
  
  <pre><code>import boto.rds
  
  REGION="us-east-1"
  INSTANCE_TYPE="db.t1.micro"
  ID = "MySQL-db-instance-database-test2"
  USERNAME="root"
  PASSWORD = "pass"
  DB_PORT = 3306
  DB_SIZE = 5
  DB_ENGINE = "MySQL5.1"
  DB_NAME = "databasetest2"
  SECGROUP_HANDLE="default"
  
  print "Connecting to RDS"
  
  conn = boto.rds.connect_to_region(REGION)
  
  print "Creating a RDS Instance"
  
  instance = conn.create_dbinstance(ID, DB_SIZE, INSTANCE_TYPE, USERNAME, PASSWORD, port=DB_PORT, engine=DB_ENGINE,db_name=DB_NAME, security_groups = [SECGROUP_HANDLE],)
  
  print instance
  </code></pre>
  
  <p>But I am having always this error related to security groups:</p>
  
  <blockquote>
    <p>DB Security Groups can only be associated with VPC DB Instances using API versions 2012-01-15 through 2012-09-17.    </p>
  </blockquote>
  
  <p>Can anyone please help solve this issue?</p>
  
  <p>If I use vpc_security_groups instead of security_groups Im having:</p>
  
  <pre><code> &lt;Message&gt;Invalid security group , groupId= f, u, d, t, e, a, l, groupName=.&lt;/Message&gt;
  </code></pre>