Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plugins:
- - serverless-plugin-scripts
- - '@anttiviljami/serverless-stack-output'
- output:
- file: ./config.json
- scripts:
- hooks:
- '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}'
- myRestAPI:
- Value:
- Ref: myApiGatewayRestAPI
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement