mirror of
https://github.com/serverless/serverless.git
synced 2026-02-01 16:07:28 +00:00
Since #6531 improved how we manage API Gateway's CloudWatch log IAM role it's now simpler to allow hardcoding a role ARN in the YAML config. This addresses [this comment](https://github.com/serverless/serverless/pull/6591#discussion_r321010087) and unblocks anyone who needs to keep the IAM permissions for an app scoped to just that app. Example usage: provider: name: aws logs: restApi: role: arn:aws:iam::123456789:role/a-service-with-all-necessary-permissions