code: func portGroupIDsFromResourceID(d *schema.ResourceData) (string, string, error) {
  	return splitHostPortGroupID(d.Id())
  }
docs: // portGroupIDsFromResourceID passes a resource's ID through
  // splitHostPortGroupID.