1

I'm looking to install Moonmail. One early step of installing Moonmail is:

Add variables to s-variables-< stage >-< region >:

{
    ...,
    "apiHost": "yourendpointhost.com"
}

I can't find the relevant file to enter this information. Where exactly do I enter this?

The files created by serverless in my Moonmail location are: s-project.json, s-resources-cf.json, and s-templates.json

Dxx
  • 934
  • 2
  • 11
  • 41

2 Answers2

1

apiHost is the URL that points to your API Gateway, so you've got to set it after deploying, at least, one endpoint

davids
  • 6,259
  • 3
  • 29
  • 50
1

The file is inside a new folder created when you ran sls project init -c -n your-lower-case-project-name. For example, if you stage is dev and your region is us-east-1, you should see this file:

_meta/variables/s-variables-dev-useast1.json
kryjex
  • 26
  • 1
  • 3