Skip to content

Instantly share code, notes, and snippets.

@aerobless
Created June 28, 2018 12:28
Show Gist options
  • Save aerobless/5d8e06ee05d846cb0cf58686e6cde02c to your computer and use it in GitHub Desktop.
Save aerobless/5d8e06ee05d846cb0cf58686e6cde02c to your computer and use it in GitHub Desktop.
Example of how to have a config for Google Cloud Functions.
const config = {
sample: {
database: {
connection: 'projectId:location:dbInstance',
name: 'dbName',
user: 'dbUser',
password: 'dbPassword'
}
}
};
module.exports = config;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment