We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db9076a commit ff7c321Copy full SHA for ff7c321
pkg/errors/errors.go
@@ -221,6 +221,9 @@ func ToReasonMessage(err error) (string, string) {
221
if strings.Contains(err.Error(), "with an explicit deny in a service control policy") {
222
return "Unauthorized", "User is not authorized to perform this operation due to a service control policy"
223
}
224
+ if strings.Contains(err.Error(), "not authorized for images") {
225
+ return "AMIAuthorizationFailure", "User is not authorized for AMI used in instance launch"
226
+ }
227
return "Unauthorized", "User is not authorized to perform this operation because no identity-based policy allows it"
228
229
if strings.Contains(err.Error(), "iamInstanceProfile.name is invalid") {
0 commit comments