what am I missing? of course arn:aws:iam::225051786593:role/service-role/eyal_lambda_role exists in AWS (I had to take it from somewhere :)).
pulumi import "aws:iam/role:Role" eyallambdarole arn:aws:iam::225051786593:role/service-role/eyal_lambda_role
Previewing import (eyal)
Type Name Plan Info
pulumi😛ulumi:Stack backend-stacks-eyal 1 error
= └─ aws:iam:Role eyallambdarole import 1 error
Diagnostics:
aws:iam:Role (eyallambdarole):
error: Preview failed: refreshing urn😛ulumi:eyal::backend-stacks::aws:iam/role:Role::eyallambdarole: 1 error occurred:
* error reading IAM Role (arn:aws:iam::225051786593:role/service-role/eyal_lambda_role): ValidationError: The specified value for roleName is invalid. It must contain only alphanumeric characters and/or the following: +=,.@_-
status code: 400, request id: d9eb1591-fcf1-4fdb-9736-7fda8363329b
pulumi😛ulumi:Stack (backend-stacks-eyal):
error: preview failed