This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sls create --template aws-nodejs --path <path> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ${file(config.${self:provider.stage}.yml):foo} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //npm install hash.js | |
| const hash = require('hash.js') | |
| hash.sha256().update(foo).digest('hex') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const AWS = require('aws-sdk'); | |
| const route53 = new AWS.Route53(); | |
| await route53.changeResourceRecordSets({ | |
| ChangeBatch: { | |
| Changes: [ | |
| { | |
| Action: "UPSERT", | |
| ResourceRecordSet: { | |
| Name: domain, | |
| ResourceRecords: [ |
OlderNewer