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.
As I wait for the library producers to make a change, I'm trying to come up with a work around