src/create/aws/create-events/index.js
function createTopic(env, callback) {
    sns.createTopic({
      Name: `${params.app}-${env}-${params.event}`,
    },
    function _createTopic(err) {
      if (err) {
        console.log(err)
      }
      setTimeout(callback, 0)
    })
  }
function createTopic(env, callback) {
    sns.createTopic({
      Name: `${params.app}-${env}-${params.event}`,
    },
    function _createTopic(err) {
      if (err) {
        console.log(err)
      }
      setTimeout(callback, 0)
    })
  }
function createTopic ( env , callback ) { sns . createTopic ( { Name : ` ${ params . app } ${ env } ${ params . event } ` , } , function _createTopic ( err ) { if ( err ) { console . log ( err ) } setTimeout ( callback , 0 ) } ) }
creates an sns topic
creates an sns topic