Maybe just use the amazon sdk if pulumi doesn't have this function?
w
worried-city-86458
10/13/2020, 10:18 PM
Pulumi will converge on "desired state" for any resources it owns
So if it owns the instance role you would just remove the policy from the source and it would be deleted
q
quaint-electrician-41503
10/13/2020, 11:58 PM
yeah unfortunately I'm using an external library so don't quite "own" a handle to the resouce but instead a reference to it's arn.
quaint-electrician-41503
10/13/2020, 11:58 PM
As I wait for the library producers to make a change, I'm trying to come up with a work around
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.