在我的CI我运行: aws ecs wait services-stable --cluster $CLUSTER --services $SERVICE
aws ecs等待服务需要哪些安全性 - 稳定?
这与我的IAM凭证作品完美,但对于CI我倒范围的凭证失败:
In function length(), invalid type for value: None, expected one of: ['string', 'array', 'object'], received: "null"
政策附着在CI组授予以下:
"ecs:ListClusters", "ecs:ListServices", "ecs:CreateService", "ecs:UpdateService", "ecs:DeleteService", "ecs:RegisterTaskDefinition", "ecs:DiscoverPollEndpoint", "ecs:Poll", "ecs:DeregisterTaskDefinition", "ecs:ListTaskDefinitions", "ecs:ListTasks", "ecs:RunTask", "ecs:StartTask", "ecs:StopTask", "ecs:SubmitTaskStateChange", "autoscaling:DescribeAutoScalingGroups", "autoscaling:UpdateAutoScalingGroup", "iam:ListServerCertificates", "cloudformation:DescribeStacks"
我曾想过给予投票和DIS coverPollEndpoint将覆盖等待。我错过了什么?
谢谢!
谢谢!链接到源代码也是非常有用的下一次。 –
作为一个后来的想法,如果错误消息给出了缺少权限的指示,那将是非常有用的。也许有些东西需要投入积压。例如,aws s3 cp可以非常有效地告诉你哪些许可没有授予。 –