-
Notifications
You must be signed in to change notification settings - Fork 22
Description
I am trying to enable cloudwatch logs for API Gateway. My serverless.yml looks like this:
provider:
name: aws
runtime: java8
cfLogs: true
logs:
restApi: # Optional configuration which specifies if API Gateway logs are used. This can either be set to true
to use defaults, or configured via subproperties.
accessLogging: true # Optional configuration which enables or disables access logging. Defaults to true.
#format: 'requestId: $context.requestId' # Optional configuration which specifies the log format to use for access logging.
executionLogging: true # Optional configuration which enables or disables execution logging. Defaults to true.
level: INFO # Optional configuration which specifies the log level to use for execution logging. May be set to either INFO or ERROR.
fullExecutionData: true # Optional configuration which specifies whether or not to log full requests/responses for execution logging. Defaults to true.
#role: arn:aws:iam::123456:role # Existing IAM role for ApiGateway to use when managing CloudWatch Logs. If 'role' is not configured, a new role is automatically created.
#roleManagedExternally: false #
But Serverless is trying to updateStage after running sls deply.
Is there a way that serverless will update it to Cloudformation template?