Channels
welcome
pulumi-cdk
cloudengineering
yaml
blog-posts
localstack
pulumi-ai
package-authoring
general
pulumiup-booth-support
oracle-cloud-infrastructure
learn-pulumi-events
linen
registry
built-with-pulumi
pulumi-cloud
contribex
testingtesting321
hacktoberfest
pulumi-crosscode
content-share
finops
multi-language-hackathon
office-hours
workshops
gitlab
pulumi-kubernetes-operator
jobs
pulumi-deployments
dotnet
aws
golang
announcements
java
pulumiverse
python
install
getting-started
cloudengineering-support
testingtesting123
hackathon-03-19-2020
typescript
google-cloud
contribute
azure
kubernetes
docs
automation-api
status
Powered by
#general
Title
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 🙏
Post