AWS如何向用户授予elasticloadbalancing:CreateTargetGroup?

时间:2019-06-30 19:58:40

标签: amazon-web-services amazon-iam amazon-elastic-beanstalk

我有一个已附加以下策略的用户:

ElasticLoadBalancingFullAccessAWSElasticBeanstalkService

使用Elastic Beanstalk创建eb create应用程序会导致以下错误:

2019-06-30 18:23:13    ERROR   Stack named 'awseb-e-jnsrjpj3dy-stack' aborted operation. Current state: 'CREATE_FAILED'  Reason: The following resource(s) failed to create: [AWSEBV2LoadBalancerTargetGroup, AWSEBLoadBalancerSecurityGroup]. 
2019-06-30 18:23:13    ERROR   Creating target group failed Reason: API: elasticloadbalancingv2:CreateTargetGroup User: arn:aws:iam::006368734308:user/userX is not authorized to perform: elasticloadbalancing:CreateTargetGroup on resource: arn:aws:elasticloadbalancing:us-west-2:006368734308:targetgroup/awseb-AWSEB-TJJWZM3TLOAO/*
2019-06-30 18:23:13    ERROR   Creating security group named: awseb-e-jnsrjpj3dy-stack-AWSEBLoadBalancerSecurityGroup-7RUUL4DLJNPT failed Reason: Resource creation cancelled

如何将此权限附加给用户?我是否应该“手动”将此权限添加到用户的安全策略中?

0 个答案:

没有答案