0
我試圖授予IAM密碼用戶完全訪問Elastic Beanstalk應用程序(創建/修改/刪除環境)的權限。遵循AWS doc here的結果導致用戶能夠查看應用程序,但無法查看環境或創建新環境(消息:拒絕訪問,無需進一步說明)。將AWS Elastic Beanstalk IAM角色限制爲對一個應用程序的完全訪問權限
這裏是連接目前的政策:
{
"Version": "XXX-XX-XX",
"Statement": [
{
"Sid": "StmtXXXXXXXXX",
"Effect": "Allow",
"Action": [
"elasticbeanstalk:*",
"autoscaling:*"
],
"Resource": [
"arn:aws:elasticbeanstalk:eu-west-1:<accountId>:application/<app-name>",
"arn:aws:elasticbeanstalk:eu-west-1:<accountId>:applicationversion/<app-name>",
"arn:aws:elasticbeanstalk:eu-west-1:<accountId>:environment/<app-name>/*",
"arn:aws:elasticbeanstalk:us-west-1::solutionstack/*"
]
},
{
"Action": [
"elasticbeanstalk:CheckDNSAvailability",
"elasticbeanstalk:CreateStorageLocation",
"autoscaling:DescribeAutoScalingGroups"
],
"Effect": "Allow",
"Resource": "*"
}
]
}
有沒有人這樣做了嗎?