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
First of all, thanks for this construct. Even tho it's simple, it's someone one doesn't need to reinvent!
Now, for the question.
I see that the policy prop is exposed, and I think it is a great idea.
policy
But I am not entirely sure how to use it?
E.g. I'm trying to add it to a role, but the role does not accept IPolicy, and only accepts concrete Policy object.
IPolicy
Policy
role.attachInlinePolicy(policy) // ^^^^^^ Argument of type 'IPolicy' is not assignable to parameter of type 'Policy'.
cdk-terraform-state-backend/src/terraform-state-backend.ts
Line 14 in 97a5c61
Am I holding it wrong?
Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
First of all, thanks for this construct. Even tho it's simple, it's someone one doesn't need to reinvent!
Now, for the question.
I see that the
policy
prop is exposed, and I think it is a great idea.But I am not entirely sure how to use it?
E.g. I'm trying to add it to a role, but the role does not accept
IPolicy
, and only accepts concretePolicy
object.cdk-terraform-state-backend/src/terraform-state-backend.ts
Line 14 in 97a5c61
Am I holding it wrong?
Thanks!
The text was updated successfully, but these errors were encountered: