Hi!
I’m installing my services from AWS Codebuild. In the docker I’m doing the SLS installation and then the SLS DEPLOY. In my serverles.yml I use the serverless-stack-output plugin, but when deploying the file, the output file is not generated. The problem occurs randomly.
This is my serverless.yml:
provider:
name: aws
runtime: nodejs8.10
timeout: 30
environment: ${file(../config.json)}
stage: ${file(../config.json):stage}
region: ${file(../config.json):region}
role: ${file(../config.json):ROLE}
versionFunctions: false
deploymentBucket: ${file(../config.json):BUCKETS_DEPLOYS}
plugins:
- serverless-stack-output
custom:
output:
file: outputs.json
package:
individually: true
include:
# - include-me.js
- node_modules/**
- lib/**
functions:
crearCliente:
handler: api/clientes/crearCliente.handler
events:
- http:
path: clientes/cliente
method: post
cors: true
Regards.