server less deploy 命令所需的权限
Permission required for the server less deploy command
在 aws lambda 上创建 IAM user/group 到 运行 AWS_ACCESS_KEY_ID=x AWS_SECRET_ACCESS_KEY=y serverless deploy -v
时,
roles/permissions 应该授予 user/group 什么?
根据无服务器框架文档,
To let the Serverless Framework access your AWS account, we're going to create an IAM User with Admin access, which can configure the services in your AWS account.
Note: In a production environment, we recommend reducing the permissions to the IAM User which the Framework uses. Unfortunately, the Framework's functionality is growing so fast, we can't yet offer you a finite set of permissions it needs (we're working on this).
在生产环境中,IAMFullAccess、AWSLambdaFullAccess和CloudFormationFullAccess应该就够了。
在 aws lambda 上创建 IAM user/group 到 运行 AWS_ACCESS_KEY_ID=x AWS_SECRET_ACCESS_KEY=y serverless deploy -v
时,
roles/permissions 应该授予 user/group 什么?
根据无服务器框架文档,
To let the Serverless Framework access your AWS account, we're going to create an IAM User with Admin access, which can configure the services in your AWS account.
Note: In a production environment, we recommend reducing the permissions to the IAM User which the Framework uses. Unfortunately, the Framework's functionality is growing so fast, we can't yet offer you a finite set of permissions it needs (we're working on this).
在生产环境中,IAMFullAccess、AWSLambdaFullAccess和CloudFormationFullAccess应该就够了。