Is there a way to enable X-Ray from the serverless.yml for Lambda functions? I've added the X-Ray permissions in the file:
iamRoleStatements:
- Effect: "Allow"
Resource: "*"
Action:
- "xray:*"
But Advanced Tracing still needs to be manually enabled in the AWS console.