当我尝试创建CodeStar项目时出现以下错误: 发生异常 {“ __type”:“内部失败”}
我正在尝试创建Codestar项目。一开始出现以下错误:
用户:arn:aws:sts :: *********:assumed-role / aws-codestar-service-role / AWSCodeStarTrustRole无权执行:cloudformation:GetTemplateSummary
然后将这一行添加到IAM-role中: “ cloudformation:GetTemplateSummary”
现在当我尝试创建一个新项目时,出现以下错误:
发生异常 {“ __type”:“内部失败”}
我的IAM角色看起来像:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"cloudformation:CreateStack",
"cloudformation:ValidateTemplate",
"cloudformation:ListStackResources",
"cloudformation:DescribeStackResource",
"cloudformation:UpdateStack",
"cloudformation:DescribeStacks",
"cloudformation:DescribeStackEvents",
"cloudformation:DescribeStackResources",
"cloudformation:GetTemplate",
"cloudformation:DeleteStack",
"cloudformation:List*",
"cloudformation:GetTemplateSummary"
],
"NotResource": [
"arn:aws:logs::*:*/gov-*",
"arn:aws:cloudformation:::gov-*"
]
}
]
}
我希望能够创建一个Codestar项目。