The GameLift Fleet instance does not have permissions on logs

0

I want to view the logs for my GameLift fleet in the CloudWatch LogGroup. But the GameLift Instance does not have permissions to upload logs on CloudWatch LogGroup.

I set the Instance role of GameLift Fleet like this.

Enter image description here

This role has a AWS manged policy named CloudWatchAgentServerPolicy and the policy and trust relationship is written like this.

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "Service": [ "ec2.amazonaws.com", "gamelift.amazonaws.com" ] }, "Action": "sts:AssumeRole" } ] }

When I tried to create a CloudWatch LogGroup on my GameLift Fleet instance, I got the following permission error.

Enter image description here

It seems like GameLift Fleet instance does not have permission to create CloudWatch LogGroup.

I don't know how to give that permission.

1 個回答
0

Looking at the error it looks like you are using a different IAM role with AssumeRole.
It is said that there is no CreateLogGroup in the IAM role "User: arn:aws:sts::783~~~", so please try adding permissions to this IAM role.

profile picture
專家
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南