3 Answers
- Newest
- Most votes
- Most comments
0
Hello.
You can find out more details by checking the error message encoded with the AWS CLI command below.
Try using CloudShell to run the AWS CLI.
https://docs.aws.amazon.com/cloudshell/latest/userguide/welcome.html
aws sts decode-authorization-message --encoded-message adZqtGJ8reVjCL6OQaVlbO2u7CnlAwNN2roYFHEsuasFxfSjf6WRZkzZLHY7QdxuaFD0z5QRmuQBnFmSoXMooVbunJSt5it0UlrhuIGa6Jez-6WuknxrnxwQ5GVKwIIV3GfZ-6FMkixBMBGgLYizxgpFq1x-z2lPbl1QImRDyI9QDaaECOvqVvOPhr-0NkNerv5FGRSCKOTiFmw3DX3TuPdQYkA59FLrYNiyo3bINpe11ri9RQYZkxu4gev4e76b6qFyQ27zungNT8mYxNbmyWGKFh5i5jIr8m-UY2rnEAUqFe0UXG1FSc0sot_Qx1dwt-yV8wAtiN7J0KDhN67okmQ7cL0rFsNz6k4ZWwAEGXhsM3xHfAAVBgJM4uVZetT3Zf7Yq9kp4sCssdfVmpBD_r6deE_NEErhJLPOgbxhj2RXpP62Fkt4UEi7HipR2Yv_9pPrMivzS3h-ld2K8qIBNlF1o64zz6BNtsL0os190S62N9Fu8cmVbvXDbtRpiFz7v0IuBvF0X4r_fOPK4WfMwf7J7BAQqblQL6-Eos_0eiognZhseu8HHullxQoY6beXaRfsmn919Te0P9lgfYWOgEMBa_Lekc_96H_yRkszBvj2GDhL6c_aIA-QD3jzD1Qy0AlvpYDsifpK7FycHpIeuw4gF72auOAl1hYV6_vGs7ktDkz5aBNGlZRNXRE3bpeiIMlwiVhCsrQeS0IHIIkxhoDCTyvz6UN5em6rk4jKYNMxbfjwEyJdxZ1rGcRj8UNBdVEnZAT8_zmv5-Ig5A0STva5Lt2mMhn3IlQs79sYiEuo5NthgpVk9sKPXfLgBLTgIN-v--sZjSXE29WpVyOWnhTDKy806J8tAKTOp0QyIioncvYMQMEySBTEvphsQSzyRHMQnFgyP7SnpRCo3S9ULIsrYeKSz_KOyvKIUbaHmrdARr-AmsI5RLQp0LwBb2NzkICJPDWcFKhdJEzFy2riz0RdmCSeIlDPrKrCag
0
Getting a similar error with m5.4xlarge
as well
1 validation error detected: Value 'You are not authorized to launch instances with this launch template. Encoded authorization failure message: adZqtGJ8reVjCL6OQaVlbO2u7CnlAwNN2roYFHEsuasFxfSjf6WRZkzZLHY7QdxuaFD0z5QRmuQBnFmSoXMooVbunJSt5it0UlrhuIGa6Jez-6WuknxrnxwQ5GVKwIIV3GfZ-6FMkixBMBGgLYizxgpFq1x-z2lPbl1QImRDyI9QDaaECOvqVvOPhr-0NkNerv5FGRSCKOTiFmw3DX3TuPdQYkA59FLrYNiyo3bINpe11ri9RQYZkxu4gev4e76b6qFyQ27zungNT8mYxNbmyWGKFh5i5jIr8m-UY2rnEAUqFe0UXG1FSc0sot_Qx1dwt-yV8wAtiN7J0KDhN67okmQ7cL0rFsNz6k4ZWwAEGXhsM3xHfAAVBgJM4uVZetT3Zf7Yq9kp4sCssdfVmpBD_r6deE_NEErhJLPOgbxhj2RXpP62Fkt4UEi7HipR2Yv_9pPrMivzS3h-ld2K8qIBNlF1o64zz6BNtsL0os190S62N9Fu8cmVbvXDbtRpiFz7v0IuBvF0X4r_fOPK4WfMwf7J7BAQqblQL6-Eos_0eiognZhseu8HHullxQoY6beXaRfsmn919Te0P9lgfYWOgEMBa_Lekc_96H_yRkszBvj2GDhL6c_aIA-QD3jzD1Qy0AlvpYDsifpK7FycHpIeuw4gF72auOAl1hYV6_vGs7ktDkz5aBNGlZRNXRE3bpeiIMlwiVhCsrQeS0IHIIkxhoDCTyvz6UN5em6rk4jKYNMxbfjwEyJdxZ1rGcRj8UNBdVEnZAT8_zmv5-Ig5A0STva5Lt2mMhn3IlQs79sYiEuo5NthgpVk9sKPXfLgBLTgIN-v--sZjSXE29WpVyOWnhTDKy806J8tAKTOp0QyIioncvYMQMEySBTEvphsQSzyRHMQnFgyP7SnpRCo3S9ULIsrYeKSz_KOyvKIUbaHmrdARr-AmsI5RLQp0LwBb2NzkICJPDWcFKhdJEzFy2riz0RdmCSeIlDPrKrCag (Service: Eks, Status Code: 400, Request ID: aab1e1b1-bd36-4656-90df-6027bbe639b4)' at 'statusMessage' failed to satisfy constraint: Member must have length less than or equal to 1024
answered 9 days ago
0
It gives the error:
An error occurred (AccessDenied) when calling the DecodeAuthorizationMessage operation: User: arn:aws:sts::980414361681:assumed-role/eks-workshop-ide-EksWorkshopIdeRole-HGQFezMSre3E/i-0528ef3f0a7861f7c is not authorized to perform: sts:DecodeAuthorizationMessage because no identity-based policy allows the sts:DecodeAuthorizationMessage action
answered 9 days ago
Relevant content
- asked a year ago
- asked a year ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 5 months ago
Judging from the error, it looks like the command is being executed from EC2. Please execute the command from CloudShell instead of EC2. When executing from EC2, please allow "sts:DecodeAuthorizationMessage" in the IAM policy of the EC2 IAM role.