constructTopicId = (topicName) => {
  const region = process.env.AWS_REGION
  const service = process.env.SLS_SERVICE
  const stage = process.env.SLS_STAGE

  let topicId = `sls/${region}/${service}/${stage}`

  if (topicName) {
    topicId += `/${topicName}`
  }

  return topicId
}
Constructs a topic id based on the provided topic name.

@param {*} topicName
@returns topic id