I have AmazonSSMRoleForInstancesQuickSetup role in the instance profile with AmazonSSMManagedInstanceCore policy, so I'm not sure what else I can do from an IAM perspective.
Log:
2021-04-30 14:08:08 INFO [ssm-agent-worker] [StartupProcessor] Write to serial port: OsProductName: CentOS Linux
2021-04-30 14:08:08 INFO [ssm-agent-worker] [StartupProcessor] Write to serial port: OsVersion: 7.8.2003
2021-04-30 14:08:08 INFO [ssm-agent-worker] Entering SSM Agent hibernate - AccessDeniedException: User: arn:aws:sts::1111111111:assumed-role/AmazonSSMRoleForInstancesQuickSetup/i-11111111111 is not authorized to perform: ssm:UpdateInstanceInformation on resource: arn:aws:ec2:eu-central-1:1111111111:instance/i-111111111111
status code: 400
I have AmazonSSMRoleForInstancesQuickSetup role in the instance profile with AmazonSSMManagedInstanceCore policy, so I'm not sure what else I can do from an IAM perspective.
Log: