我很难与特定用户一起启动EC2实例。解码的错误消息(来自aws sts decode-authorization-message)是:
DecodedMessage|{
"allowed":false,
"explicitDeny":false,
"matchedStatements":{
"items":[
]
},
"failures":{
"items":[
]
},
"context":{
"principal":{
"id":"AIDAJJEIJ6GU4IX5WT5DA",
"name":"aws_portal",
"arn":"arn:aws:iam::846575128002:user/aws_portal"
},
"action":"ec2:RunInstances",
"resource":"arn:aws:ec2:eu-west-1::image/ami-8282a2f1",
"conditions":{
"items":[
{
"key":"ec2:ImageType",
"values":{
"items":[
{
"value":"machine"
}
]
}
},
{
"key":"ec2:Owner",
"values":{
"items":[
{
"value":"846575128002"
}
]
}
},
{
"key":"ec2:Public",
"values":{
"items":[
{
"value":"false"
}
]
}
},
{
"key":"ec2:Region",
"values":{
"items":[
{
"value":"eu-west-1"
}
]
}
},
{
"key":"ec2:RootDeviceType",
"values":{
"items":[
{
"value":"ebs"
}
]
}
}
]
}
有谁知道问题是什么 - 说实话这条消息对我没有帮助 - 我不明白