def create_option_group(name, engine_name, major_engine_version, option_group_description, tags=None, region=None, key=None, keyid=None, profile=None):
 res = __salt__['boto_rds.option_group_exists'](name, tags, region, key, keyid, profile)
 if res.get('exists'):
  return {'exists': bool(res)}
 try:
  conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
  if (not conn):
   return {'results': bool(conn)}
  taglist = _tag_doc(tags)
  rds = conn.create_option_group(OptionGroupName=name, EngineName=engine_name, MajorEngineVersion=major_engine_version, OptionGroupDescription=option_group_description, Tags=taglist)
  return {'exists': bool(rds)}
 except ClientError as e:
  return {'error': salt.utils.boto3.get_error(e)}

def create_option_group ( name , engine_name , major_engine_version , option_group_description , tags = None , region = None , key = None , keyid = None , profile = None ) : res = __salt__ [ 'boto_rds.option_group_exists' ] ( name , tags , region , key , keyid , profile ) if res . get ( 'exists' ) : return { 'exists' : bool ( res ) } try : conn = _get_conn ( region = region , key = key , keyid = keyid , profile = profile ) if ( not conn ) : return { 'results' : bool ( conn ) } taglist = _tag_doc ( tags ) rds = conn . create_option_group ( OptionGroupName = name , EngineName = engine_name , MajorEngineVersion = major_engine_version , OptionGroupDescription = option_group_description , Tags = taglist ) return { 'exists' : bool ( rds ) } except ClientError as e : return { 'error' : salt . utils . boto3 . get_error ( e ) }
create an rds option group cli example to create an rds option group:: salt myminion boto_rds .