You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Observe linting error when providing aws_iam.Role() object to aws_eks.Cluster() object as "masters_role" parameter:
Argument of type "Role" cannot be assigned to parameter "masters_role" of type "IRole | None" in function "__init__"
Type "Role" cannot be assigned to type "IRole | None"
"Role" is incompatible with protocol "IRole"
"grant_pass_role" is an incompatible type
Type "(identity: IPrincipal) -> Grant" cannot be assigned to type "(grantee: IPrincipal) -> Grant"
Parameter name mismatch: "grantee" versus "identity"
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
Observe linting error when providing aws_iam.Role() object to aws_eks.Cluster() object as "masters_role" parameter:
Reproduction Steps
What did you expect to happen?
Linting to pass as aws_iam.Role implements IRole interface.
What actually happened?
Linting error due to IRole interface
grant_pass_role
accepts parameter "grantee" instead of "identity" as implemented in Keygrant_pass_role
Environment
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: