Hello everyone. I'm facing issues when using pre-e...
# aws
e
Hello everyone. I'm facing issues when using pre-existing role to a Lambda Function using Pulumi. The role is defined in a different project and I just intend to reuse it, I'm providing the role arn into Pulimi's aws.Lambda component. Whenever I try to deploy I get this error:
Copy code
Error: "nodes.role" is not available when a pre-existing role is used.                                                               
       at Object.get role [as role] (function.ts:1664:17)
       at @pulumi/output.ts:758:57                                    
       at Array.some (<anonymous>)                                                                                                      
       at impl (@pulumi/output.ts:758:37)                             
       at containsUnknowns (@pulumi/output.ts:743:12)                 
       at @pulumi/output.ts:180:84                                    
       at async Promise.all (index 2)
Tried to look up on Pulumi's troubleshouting but found nothing, appreciate any help.
e
Could you file a ticket with a repro in pulumi/pulumi-aws, my team might have a look ty.
👍 1
🙏 1
e
Thanks Thanks Anton, will do and update this thread.
Updating this thread, it is not an issue with Pulumi but with an IAC Tool SST, they currently have an open issue: https://github.com/sst/ion/issues/987. The error messages were misleading
♥️ 1