We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
codebuild.CommonProjectProps requires an iam.Role instead of iam.IRole, which means you cannot use an imported role.
codebuild.CommonProjectProps
Looks like exactly the same issue as the Lambda one that was fixed last month (#1506).
The text was updated successfully, but these errors were encountered:
the workaround mentioned in #1506 seems to work for codebuild too:
const projectProps = { ... other props ... role: theImportedIRole as any }
Sorry, something went wrong.
fix(codebuild): accept IRole instead of Role
556d09e
Fixes #1778.
fix(codebuild): accept IRole instead of Role (#1781)
f08ca15
Successfully merging a pull request may close this issue.
codebuild.CommonProjectProps
requires an iam.Role instead of iam.IRole, which means you cannot use an imported role.Looks like exactly the same issue as the Lambda one that was fixed last month (#1506).
The text was updated successfully, but these errors were encountered: