https://pulumi.com logo
c

cuddly-australia-15715

01/29/2020, 8:23 PM
I tried to use the getRole data source but it seems like using its assumeRolePolicy with the role constructer creates a role in aws
h

handsome-actor-1155

01/29/2020, 8:30 PM
afaik you would need to import that resource into pulumi then reference it from there https://www.pulumi.com/blog/adopting-existing-cloud-resources-into-pulumi/
c

cuddly-australia-15715

01/29/2020, 9:02 PM
Thanks so much 🙏