2 ms·
For js projects you can work around that problem with const config = require('./config.json'); Then you do config.secrets.apiKey etc You have to gitignore co
by pmontra 10y ago
For js projects you can work around that problem with
const config = require('./config.json');
Then you do config.secrets.apiKey etc
You have to gitignore config.json and include it in serverless.yml
Other languages might have to read and parse that JSON into one of their data structures.