sparse-intern-71089
12/26/2021, 4:36 PMable-honey-93860
12/26/2021, 7:23 PMopts=ResourceOptions(delete_before_replace=True)
Proper format seems to be the below which was found based off this GitHub issue https://github.com/pulumi/pulumi/issues/5750
opts=pulumi.ResourceOptions(delete_before_replace=True)
Now I don't get the error, but still isn't happy that a policy rule name is already in use. I think it might be due to the SignOn rule being set with a policy rule set, when updating the SignOn rule it wants to remake the policy rule which isn't going to allow two rules with the same name. thought the delete before replace would solve this but I think I might need a different workaroundbillowy-army-68599
from pulumi import ResourceOptions
the first will workable-honey-93860
12/27/2021, 3:32 PM