{"size": 811, "ext": "js", "max_stars_repo_path": "config/aws.js", "max_stars_repo_name": "cesarandreu/bshed-api", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "config/aws.js", "max_issues_repo_name": "cesarandreu/bshed-api", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "config/aws.js", "max_forks_repo_name": "cesarandreu/bshed-api", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 25.34375, "max_line_length": 64, "alphanum_fraction": 0.6621454994}
var assert = require('assert')
var AWS = require('aws-sdk')

var config = {
  development: {
    accessKeyId: 'ACCESS_KEY_ID',
    secretAccessKey: 'SECRET_ACCESS_KEY',
    apiVersion: '2014-11-23',
    s3ForcePathStyle: true,
    endpoint: new AWS.Endpoint('http://localhost:10001')
  },
  test: {
    accessKeyId: 'ACCESS_KEY_ID',
    secretAccessKey: 'SECRET_ACCESS_KEY',
    apiVersion: '2014-11-23',
    s3ForcePathStyle: true,
    endpoint: new AWS.Endpoint('http://localhost:10001')
  },
  production: {
    accessKeyId: '',
    secretAccessKey: '',
    apiVersion: '2014-11-23',
    s3ForcePathStyle: true,
    endpoint: new AWS.Endpoint('http://localhost:10001')
  }
}

module.exports = function awsConfig (env) {
  assert(env && config[env], `aws config env ${env} is invalid`)
  return config[env]
}
