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
I am using pulumis serverless-aws-typescript template and trying to override the IAM role created by the library. I can overide lambda callbackFunction using the global pulumi.runtime.registerStackTransformation but the apigateway.RestAPI role is not getting transformed. It does work at the resource opts also
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered:
I have changed to use the following api and transformations work as intended might be good idea to replace all outdated templates with this api awsx.classic.apigateway.API
Unfortunately, this is a known issues of component plugins: pulumi/pulumi#6948
The classic namespace in AWSx will not be recieving updates apart from security fixes so might not be the best choice for the long-term.
I would suggest we rework this issue into "Add support for overriding IAM role". The new AWSx components already provide equivelent options so we would hopefully be able to adopt the same design for this component too.
When moving to the schematised API Gateway component from the original AWSx TypeScript implementation, there's no way to override the IAM role.
Previously this was possible using stack transformations but these are not yet supported pulumi/pulumi#6948
Could we support overriding the IAM role as an argument to the component instead?
Original Issue
What happened?
Hi dev
I am using the following versions
I am using pulumis
serverless-aws-typescript
template and trying to override the IAM role created by the library. I can overide lambda callbackFunction using the globalpulumi.runtime.registerStackTransformation
but the apigateway.RestAPI role is not getting transformed. It does work at the resource opts alsoSteps to reproduce
add global stack transformation
Expected Behavior
Actual Behavior
Output of
pulumi about
No response
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: