How can we detach a policy from an aws role instan...
# aws
q
How can we detach a policy from an aws role instance? https://docs.aws.amazon.com/cli/latest/reference/iam/detach-role-policy.html
Maybe just use the amazon sdk if pulumi doesn't have this function?
w
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
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