containers-roadmap icon indicating copy to clipboard operation
containers-roadmap copied to clipboard

Unable to get the Windows ami id.

Open krishnaputhran opened this issue 7 years ago • 1 comments

When I am trying to create a Windows Cluster nodes I get the following error.

aws ssm get-parameter --name /aws/service/ami-windows-latest/Windows_Server-2019-English-Core-EKS_Optimized-1.14/image_id --region us-east-1 --query Parameter.Value --output text

An error occurred (AccessDeniedException) when calling the GetParameter operation: User: arn:aws:iam::875187667539:user/<> n is not authorized to perform: ssm:GetParameter on resource: arn:aws:ssm:us-east-1:<>:parameter/aws/service/ami-windows-latest/Windows_Server-2019-English-Core-EKS_Optimized-1.14/image_id

I am not sure which policy I need to update or what permission I need.

Any help would be appreciated

krishnaputhran avatar Oct 10 '19 09:10 krishnaputhran

I could find the solution. We need to create a policy for Systems Manager and select relevant resources. This particular issue needs access to Parameter resource

krishnaputhran avatar Oct 10 '19 09:10 krishnaputhran