Serverless Framework Plugin to Deploy and Remove AWS Platform Apps
npm install sls-plugin-platform-apps!David
!GitHub code size in bytes
!GitHub repo size
!npm
!npm
!npm
!npm
!NPM
!npm
!GitHub last commit
!npm collaborators
Serverless Framework Plugin to Deploy and Remove AWS Platform Apps
To install with npm, run this in your service directory:
``bash`
npm install --save sls-plugin-platform-apps
Then add this to your serverless.yml
`yml`
plugins:
- sls-plugin-platform-apps
To define Platform Apps, add a platformApps section like this to yourserverless.yml:
`yml`
custom:
platformApps:
gcm:
name: "${self:service}-${self:provider.stage}"
platform: GCM
credential: "${self:custom.secrets.FIREBASE_SERVER_KEY}"
Your Platform Apps will be deployed automatically when you run:
`bash`
sls deploy
To deploy all Platform Apps without deploying the Serverless service, use:
`bash`
sls deploy platformApps
To deploy a single Platform App without deploying the Serverless service, use:
`bash`
sls deploy platformApps --app [appName]
To remove a single Platform App without removing the Serverless service, use:
`bash`
sls remove platformApps --app [appName]
To remove all Platform Apps without removing the Serverless service, use:
`bash``
sls remove platformApps
- Add tests