Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. plugins:
  2. - serverless-plugin-scripts
  3. - '@anttiviljami/serverless-stack-output'
  4.  
  5. output:
  6. file: ./config.json
  7. scripts:
  8. hooks:
  9. 'after:aws:deploy:finalize:cleanup': jq < config.json .myRestAPI | xargs -I%% aws --profile ${self:custom.stage} apigateway create-deployment --rest-api-id %% --stage-name ${self:custom.stage} --description 'Deployment ${sls:instanceId}'
  10.  
  11. myRestAPI:
  12. Value:
  13. Ref: myApiGatewayRestAPI
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement