При попытке создать проект CodeStar я получаю следующую ошибку:
Произошло исключение
{ "__Type": "InternalFailure"}
Я пытаюсь создать проект Codestar. В начале получил следующую ошибку:
Пользователь: arn: aws: sts :: *********: предполагаемая роль / aws-codestar-service-role / AWSCodeStarTrustRole не авторизован для выполнения: cloudformation: GetTemplateSummary
Затем я добавляю эту строку в IAM-роль:
"CloudFormation: GetTemplateSummary"
И теперь, когда я пытаюсь создать новый проект, я получаю следующую ошибку:
Произошло исключение
{ "__Type": "InternalFailure"}
Моя роль в 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.